The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automate Label assignment based on linked epic?

Jared McNeil
May 11, 2023

Hello I'm trying to automate label assignement as much as possible for created issues. Is there a way to auto assign a label to a story based on the epic it is linked to? For example: 

If Issue is created and Epic link is X then apply Label X

If issue is created and Epic link is Y then apply Label Y

I'd do this in two separate automation rules, but I can't figure out how to get one of those statements work.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Oliver Siebenmarck _Polymetis Apps_
Community Champion
May 11, 2023

Hi @Jared McNeil and welcome to the community,

First of all: yes, this is possible.

You would use "Issue created" as the trigger, add a JQL condition with something like:

"Epic Link" = X

with X being your Epic X, and finally use an "Edit issue" action to add the label. The whole automation should look something like this:

Bildschirmfoto 2023-05-11 um 16.29.57.png

 

Hope that helps,
 Oliver

Jared McNeil
May 11, 2023

Thanks Oliver this worked for me!