Forums

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

Automation - Trigger needed to check sub task status and transition parent.

Mark Almeida-Cardy April 14, 2020

I am looking for a suitable trigger to use that will check all sub-task status and then transition the parent status based on a result.

eg: If any subtask status = REJECT, transition parent status to FAILED

 

I tried a scheduling trigger but that resulted in an error;

Branch rule / related issues

Can't branch rule as it requires issue(s) in the context for this option. More than likely you have a trigger that doesn't insert issues into the rule chain. e.g. Scheduled rule not running a JQL query. Creating an issue does not put an issue into the context, you have to branch on it directly.

 

Outside of the above, I don't see a suitable trigger for a workflow based on a subtask event.

1 answer

1 accepted

0 votes
Answer accepted
John Funk
Community Champion
April 14, 2020

Hi Mark - Welcome to the Atlassian Community!

What if you used Automation For Jira and created a rule for when a Sub-task transitions to Reject that you then auto-transition the Parent to Failed?

Mark Almeida-Cardy April 14, 2020

Hey John.....  you know..  I was in a rabbit hole there. 

 

Thank you!

Like GennadyNK likes this
John Funk
Community Champion
April 14, 2020

:-)   Automation For Jira will do what you need. 

Like GennadyNK likes this
Astghik Sargsyan
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!
September 29, 2020

Is this an extension ? Can you help me with that I have the same issue(

John Funk
Community Champion
September 29, 2020

Hi @Astghik Sargsyan  - No it is a free tool and part of Jira Cloud. Here is some more information:

There are two types of automation:

  • Global: In the Free version, you get 100 executions per product, per month
  • Project: In all versions, you get unlimited executions per month

Automation Basics: https://www.atlassian.com/software/jira/guides/expand-jira/automation

You can do this via global rules to apply to all projects also. You'll need to be a Jira Admin/Site Admin, go to Jira Settings > System > Automation Rules (left-hand menu).

For more on using Automation For Jira see these help pages.

Like Astghik Sargsyan likes this

Suggest an answer

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

Atlassian Community Events