Forums

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

I want to Automate the Transition of the Task based on the status of the Subtask least status

Puneet Mehresh
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!
August 9, 2022

I want to Automate the transition of the Task based on the status of the Subtask having least status value in Kanbanboard. ( Planning | Developing | Testing | Deploying )

Example - In Kanbanboard if my Epic has two subtask A & B

A is at stage Planning with status (Planning)

B is at stage Developing with status (Developing)

Then my Task should show the status as Planning

I tried to solve this by setting up numbers to each stages in customize field (WorkFlowId) and then compare with least value in automation, I succeed by comparing

if Parent - workFlowID < Trigger - workFlowID  

but at transition of parent show only two values 'Copy from Parent' or 'Copy from Trigger issue' . How can I compare the values of two subtask in a Branch Parent and do Transition of Parent

 

1 answer

0 votes
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.
August 10, 2022

Hi @Puneet Mehresh -- Welcome to the Atlassian Community!

One way to do this is with an automation rule, gathering the subtasks for the parent issue, and then progressively checking for any in each step of your flow.

For example:

  1. trigger: issue transitioned
  2. condition: issue type is subtask
  3. action: use lookup issues and JQL to get all of the sibling subtasks for the same parent
  4. if/else condition: using smart value list filtering, check if any issues are in Planning status
    1. branch to the parent issue
    2. action: transition the parent to Planning
  5. else/if condition to test for Developing...

 

To get you started on creating your rule, please review this documentation and examples:

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events