First I manually trigger a defect and it will create 5 sub-tasks like reproduce, root cause, fix, updates and validate. Now I want to link root cause blocked by reproduce, fix blocked by reproduce, updates blocked by reproduce and validate blocked by reproduce, root cause, fix and updates.
I created a variable for reproduce subtask. I named it as reproducekey and used this '{{createdIssue.key}}' in smart value. I used this reproducekey in link issues. But the subtasks are linking to the parent defect
Hi @Siva Tejadheep Veera Boina ,
You can use a JSON update statement in "Additional Fields" to set this up. An example JSON to use with reproducekey would be
{
"update": {
"issuelinks": [
{
"add": {
"type": {
"name": "Blocks"
},
"inwardIssue": {
"key": "{{reproducekey}}"
}
}
}
]
}
}
You will have to set up similar variables for rckey, fixkey and updatekey to link in the validate ticket.
Hope that helps!
~ Hariharan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.