Testlink doesn't sends custom fields to Jira (REST)

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Testlink doesn't sends custom fields to Jira (REST)

Postby fortcwb » Fri Sep 15, 2017 7:20 pm

Guys,

I can't get my custom fields working properly when opening issues on Jira using the testcase itself. Everything is fine to link bugs from myjira to Testlink, but when I try to create a issue sending additional information in custom fields, nothing happens. I've read a lot of information before open this case but everything I've tried failed. It seems like Testlink doesn't sends the custom fields information for some reason.

I would apreciate if someone could help me.

Warning:
Create issue feedback
addIssue:Failure:JIRA Message: customfield_11100 => Customer is required. customfield_11410 => Produto is required.



Jira version: 6.2
TL version 1.9.16

Rest config:

<!-- Template jirarestInterface -->
<issuetracker>
<username>user</username>
<password>password</password>
<uribase>myjira:8080</uribase>
<uriapi>myjira:8080/rest/api/latest/</uriapi>
<uriview>myjira:8080/browse/</uriview>
<userinteraction>1</userinteraction>
<projectkey>QAPT</projectkey>
<issuetype>1</issuetype>
<issuepriority>3</issuepriority>

<attributes>
<customFieldValues>
<customField1>
<customfieldId>customfield_11100</customfieldId>
<type>checkbox</type>
<values>
<value>SMT</value>
<value>SMTELSE</value>
</values>
</customField1>

<customField2>
<customfieldId>customfield_11410</customfieldId>
<type>Select</type>
<values>
<value>NOT APPLICABLE</value>
</values>
</customField2>

</customFieldValues>
</attributes>

</issuetracker>



Content captured from Wireshark:
sent:
{"fields":{"project":{"key":"QAPT"},"summary":"My Summary","description":"dsfdgnhj","issuetype":{"id":1},"priority":{"id":"1"}}}

answer:
{"errorMessages":[],"errors":{"customfield_11100":"Customer is required.","customfield_11410":"Produto is required."}}
fortcwb
TestLink user
 
Posts: 6
Joined: Thu Jun 30, 2011 6:33 pm

Return to TestLink 1.9



Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron