Ask a Question

Posting bugs to JIRA with custom attributes

SOLVED
Novari-QA
Frequent Contributor

Posting bugs to JIRA with custom attributes

Good day all,

 

I am trying to post bugs to JIRA from TestComplete but unfortunatly JIRA refuses the creation because we have required custom attributes. Is there a way to fill in these custom attributes from TestComplete?

 

 

Creating a defect report...
Error occured while post bug to server. Error: The server [INSERT URL HERE] returned an error with code 400:
{"errorMessages":[],"errors":{"customfield_11201":"Database script required? is required.","customfield_11100":"Customer Reported Issue/Found in Production? is required."}}

5 REPLIES 5
Marsha_R
Community Hero

I suggest contacting Support directly:

https://support.smartbear.com/testcomplete/

 

If you go by this:

https://support.smartbear.com/testcomplete/docs/testing-with/log/working-with/creating-issue-reports...

 

Then it looks like you can't have custom anything

  • Bug issues must:

    • have the following fields:

      • Summary

      • Description

      • Priority

      • Assignee

      • Environment

    • have no required fields except for the ones mentioned above,

    • allow attachments.

If your JIRA project does not have the Bug issue type, or if the Bugs are configured differently, ask your JIRA administrator to configure them as stated above.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
Novari-QA
Frequent Contributor

That's a bummer 😞 , shouldn't be forced to remove features from JIRA if your a new TestComplete user.  only solution i can think of is build a new project for just automation tickets.

That's why I suggested asking Support.  They may know of a way around it or that a change is coming in a future release.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
tristaanogre
Esteemed Contributor


@Novari-QA wrote:

That's a bummer 😞 , shouldn't be forced to remove features from JIRA if your a new TestComplete user.  only solution i can think of is build a new project for just automation tickets.


You shouldn't have to create a new project, just change your required fields.  The custom attributes can still be there, just make sure that they aren't marked as required.  The JIRA interface is clearly documented on this (as per @Marsha_R's quotation) so it shouldn't be a surprise.

 

HOWEVER... the JIRA interface IS a ScriptExtension... meaning that you can open the TCX file to gain access to the source code and make whatever customizations you want to.  I'd recommend, if you do so, that you rename the extension and deselect the pre-installed one so that, on upgrade of TC, you don't lose your customizations.  So, it is possible that you can still use your custom attributes, you'll just need to modify the script extension to support them.

 

 


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Novari-QA
Frequent Contributor

That is a great option, I think I will go with that.

cancel
Showing results for 
Search instead for 
Did you mean: