Forums

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

Set an automatic rule that an issue will link to an epic if a specific reporter creates issue?

Martijn Dekker October 31, 2022

We have a two-way api set up with our Service Now software. This means that when a user creates an issue in Service Now this issue creates a new bug in our Jira. When we close the bug the issue in Service Now also closes.

I would like it when the newly created bug in Jira by reporter "Service Now Jira Sync" is automatically linked to our Epic for these bugs. Now we have to do this manually. I cannot find it in the automation section on how to do this. 

 

Thank you. 

1 answer

1 accepted

0 votes
Answer accepted
Gaurav
Community Champion
October 31, 2022

Hello @Martijn Dekker 

Welcome to the community!!

For this purpose, you can create a custom Automation rule. The 3 components of the rule can be:

  • Trigger: When a new issue is created
  • Condition: Issue type is  Bug and the Reporter is 'Service Now Jira Sync'
  • Action: Update the issue and link it to the required Epic

Atlassian documentation for the Automation is available here.

Please let me know if you need any help with this rule.

Kindly accept the answer if this helps.

--GG

Martijn Dekker October 31, 2022

Hi @Gaurav, Great help! I think I'm almost there. The third action I find difficult. The Epic is not available as option to alter after creating issue. Am I not choosing the right action?Almost there.jpg

Gaurav
Community Champion
October 31, 2022

Hello @Martijn Dekker 

You are at the right place. In the drop-down for fields, please start typing 'Epic' and it will provide you with relevant options. From the options, select Epic Link and provide the required value.

Hope this helps.

--GG

Update Epic Link 1.png

Martijn Dekker October 31, 2022

@Gaurav YES it worked. It a bit of figuring out, because I had more options then the one you have. I have a textfield option and a (gh-epic-link) option. It was the second one. Resolved!! Thanks. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events