We are using Jira Service Management Server in our cloud, so not Jira Service Manager Cloud.
When a user updates a story and adds an epic link, we want to also make the epic a linked issue.
We tried triggering when value changes for Epic Link and if it's the right issue type:
{"update": {
"issueLinks": [
{
"add" : {
"type" : {
"name" : "belongs to Epic"
},
"outwardIssue": {
"key": "{{issue.epic.key}}"
}
}
}
]
}
}
The error we get with this is "No issue link type with name 'belongs to Epic' found.)
Although we can manually link using that link name.