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

Ritu Jain March 22, 2016

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

0 votes
belissar July 8, 2016

Hello

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

 

0 votes
Pankaj Dhande June 9, 2016

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.

0 votes
Phill Fox
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 23, 2016

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.

0 votes
Ritu Jain March 22, 2016

I am using REST interface

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events