Forums

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

Move Epic to 'In Progress' when a Sub-task is moved to 'In Progress'?

Dan H
Contributor
February 9, 2022
  • Epic  ->  3. In Progress
    • Story  ->  2. In Progress
      • Sub-task  ->  1. In Progress

When the Sub-task is moved to 'In Progress' I would like the Story to then transition to 'In Progress' (easy, already done) AND also update the Epic into 'In Progress'.

Can I create a rule to do this using Jira Automation?

3 answers

1 accepted

3 votes
Answer accepted
Piotr Zadrożny _Eyzee_
Community Champion
February 9, 2022

Hi @Dan H 

You can create rule similar to following:

aaa.png

Make sure to check "Allow rule trigger" in Rule details to allow rule created by you (the one that transition story) to trigger this one.: 

bbb.png

Best,

Piotr

Dan H
Contributor
February 14, 2022 edited

Thank you! I've created two separate Rules with the second (Story) rule having the 'Allow rule trigger' ticked and this works a charm.

Although it does cause the second Rule to trigger twice (caused by the the Epic transitioning as the final step), no actions are performed here and so everything functions correctly :)

rule.jpg

1 vote
Никита Иванов
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 4, 2024

Hello there,

none of the above worked for me, so I had to figure out the way to make it work.

Please see the algorithm below.

Thanks


image (5).png

0 votes
Sachin Dhamale
Community Champion
February 9, 2022

@Dan H

You need to configure rule for parent and epic issue type in the same rule 

So when subtask move to in progress status then its parent (Story) and parents Parent (Epic) issue move to in progress status. see the screenshot.

I have configure this and its working fine.

Please Accept the answer if it helps

Subtask-Parent-Epic.png

Thanks,
Sachin

Mark Christopher Yang May 30, 2022

Hi @Sachin Dhamale, this is awesome however, apparently when I entered
issueLink = {{triggerIssue.parent}} and issuetype = Epic, this does not work. 

Could the issueLink still be broken? based on https://jira.atlassian.com/browse/JRACLOUD-25640

Would you be able to advise on any other alternative ways?

Like Aleyna Yildiz likes this
Aleyna Yildiz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 22, 2022

Still not resolved?

Mark Christopher Yang June 22, 2022

Yeah, I deemed this to be unresolved as I followed the steps provided and enabled the automation while also testing the flow. It is still not working on Jira cloud...

Not sure if anyone can help us on this? or @Sachin Dhamale @Piotr Zadrożny _Eyzee_ would you be able to guide us if there's another work around? Thank you in advance :) 

Mustafa Can ÖGEL
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 22, 2022 edited

Hello everyone,

I've tried lots of ways to solve this problem and I ended up with this automation. I believe this works well. 

Thanks,

Can 

PS: You have to check "allow rule trigger" to work with this automation properly.3.PNG 4.PNG

 

Like 4 people like this
Mark Christopher Yang July 14, 2022 edited

Thank you @Mustafa Can ÖGEL
Brilliant solution, it worked for me :) I tweaked For Epic (parent) instead of And Some: Sub-tasks match TO And: Stories (or other issues in this Epic).

Thank you
Screenshot at Jul 15 11-18-58.png

Like Remya Ramakrishnan likes this
Hira Ahmed Shaikh
Contributor
August 30, 2023

@Mustafa Can ÖGEL i have tried your aproach and when i move the sub-task or task to in progress, the epic is moving to in progress but the parent story of the task is still in To Do. What could be the issue. attaching the Automation below.

Screenshot 2023-08-30 185042.png

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events