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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.