How should I handle required JIRA custom fields when creating issue from testlink

I have a working integration between JIRA and Testlink. I am able to attach existing defects from JIRA to testlink test executions.

however when I try to create a new defect I get the following error

"addIssue:Failure:JIRA Message: customfield_10051 => Severity is required."

I have a severity field for a issue type "Bug" in JIRA that is mandatory.

I have tries to add this to the configuration in testlink as follows. it did not work.

Please advice.

 

<issuetracker>
<username>userid</username>
<password>password!</password>
<uribase>ourserver</uribase>
<uriview>ourserver/issue/</uriview>
<userinteraction>1</userinteraction>
<projectkey>OBJY</projectkey>
<issuetype>1</issuetype>
<attributes>
<customFieldValues>
 <customfield>
  <customfieldId>customfield_10051</customfieldId>
  <type>Select</type>
  <values><value>Wrong Behavior</value></values>
 </customfield>
</customFieldValues>
</attributes>
</issuetracker>

 

 

4 answers

This widget could not be displayed.

I am using REST interface

This widget could not be displayed.

Can you check the definition of your customfield 10051 (Severity) to see if it is restricted to a specific set of values. 

The normal behaviour for Severity is that it is a select from a list of options. Your request should therefore match one of these predefined options.

This widget could not be displayed.

Did you get any solution for this? We also have Severity as a custom field with a list of values and I need to pass the value while creating a bug.

This widget could not be displayed.

Hello

Your request was solved? Please share the information with us?

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 58m ago in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

9 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you