Forums

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

Automatically change epic status when 2 specific subtasks done

Umar Maroof
Contributor
January 28, 2023

I am trying to do a automation where under epic I have 2 subtasks 

name frontend publish and backend publish 

I want when both subtasks status turns done then epic status automatically change to ready for testing below is the rule which I try but its not working 

sub change.png

2 answers

2 accepted

2 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 28, 2023 edited

Hi @Umar Maroof 

Subtasks are not normally used with a parent Epic, but instead their parents are stories, tasks, or bugs.

If you actually are associating subtasks with an epic directly, I suspect the branch for epic (parent) will not work in the rule.  Instead you could try either...

  • using what was intended in Jira and having story/task/bug as children of the epic, or
  • change your branch to use JQL to find the parent with key = {{triggerIssue.parent.key}} AND issueType = Epic

Kind regards,
Bill

0 votes
Answer accepted
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 28, 2023

Hi @Umar Maroof ,

your automation rule looks good. Have you tried to look into audit log, where is the problem? Would you please share the screenshot from there?

Umar Maroof
Contributor
January 28, 2023

@Hana Kučerová Audit log No action performed

Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 29, 2023

Thank you, @Umar Maroof . Would you please share the whole record (not only the result)? This way it won't help much.

@Bill Sheboy is correct, I didn't realize you are probably trying to connect Epics and Sub-tasks and conditions with Sub-tasks should be replaced.

Umar Maroof
Contributor
January 30, 2023

@Hana Kučerová 

Thank you for your respones Actually now I change the logic now I create one sperate task under epic and create two subtasks under that tasks and create sperate rule to change the epic status depend upon that task status and task status depend upon subtasks status and now its working fine for me.

Like 2 people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events