Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to link a defect to a User Story when using the Adaptivist?

Lornette Palmer-Rhoden April 27, 2018

I am new to the use of Adaptivist, however, we are having a challenge linking a defect to a user story that will then be shown in the backlog

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Neta Elyakim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 19, 2018

I don't know how you want to do it (how your process will work) but here is how you can link between issues :

def link = post('/rest/api/2/issueLink')        
.header('Content-Type', 'application/json')        
.body([            
type: [ name: "Resolves" ],    //The link name    
outwardIssue: [ id: issueId ],  // This is the issue that the link 'starts' at
inwardIssue: [ key:  secondIssueKey // You'll need to specify an issue ID or key here        
])        
.asString()
assert link.status == 201

Please notice to change the link type- name to the relevant link name, issueId and the secondIssueKey params to the releavent issues.

TAGS
AUG Leaders

Atlassian Community Events