Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,843
Community Members
 
Community Events
176
Community Groups

Automation: Epic Labels to tasks

Hi there,

I am new to automation in Jira.  I see examples in this community to do this but it doesn't work for me.

I will show my example below.  Also is the theory once you add an automation that it runs automatically?  Like I label an Epic and it then should be added to each task in it?

Below doesn't work for me.

Help!

 

 epicautomation.PNG

1 answer

1 accepted

1 vote
Answer accepted
Mykenna Cepek Community Leader Feb 16, 2022

The rule needs to be enabled in order to run. There's a little switch that shows green in the top-right corner when a rule is enabled (when viewing the Rule Details).

The rule also has to be configured for the Jira Project(s) where these Epics and Story-level issues are located.

You should also look in the Audit Log to see if the rule ran, and if so whether there were any warnings or errors.

If all that looks ok, then please post a screenshot showing the configuration of your "Edit Issue" action.

Also, instead of the "If issue matches JQL" component, you should probably be using an "Issue Fields Condition" checking the "Issue Type". While the former will work (if configured correctly), the "Issue Fields Condition" is much more efficient (no JQL execution required).

Thanks for the reply.

Rules are enabled

I also see it configured for Jira Projects.

Audit log looks like it ran successfully and even shows the Epic ID and then it displayed the tasks but didn't change any of them.

Once I changed the "Issue type equals" then it doesn't run at all as the error says the Epic didn't meet the criteria.

epicautomation2.PNG

 

Here was the successful audit log from my initial automation using the JQL that still didn't update the labels on the tasks:

epicautomation3.PNG

Sorry quick update.  I changed Issue Type equals Epic.

Audit says success.

But still no labels updated.

Thoughts?

epicautomation4.PNG

Hi @Harry Tye 

How did you configure the final action? The action needs to be told "how the issue should be editted" (eg. see screenshot, guess that fits your requirement)

image.png

Best

Stefan

Thanks that was it.  It was blank.  Which is why i got no errors but nothing was completed.

I appreciate both your help.

Like Stefan Salzl likes this

Awesome. Happy to know your solution is working now ;)

 

Best
Stefan

Mykenna Cepek Community Leader Feb 16, 2022

That's why I originally suggested you "post a screenshot showing the configuration of your 'Edit Issue' action."

I'm glad you were able to figure it out.

Like Stefan Salzl likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events