Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation: How to make an epic link on a story also become a linked issue

Marc Isikoff
Contributor
June 15, 2023

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.

1 answer

0 votes
Fabian Lim
Community Champion
June 15, 2023

Hi @Marc Isikoff

The syntax looks good.  I would check with the admin whether the name "belongs to Epic" is for the "outward" or "inward" relationship.  That could be the problem.

Cheers,

Fabian

Suggest an answer

Log in or Sign up to answer