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
Community Members
Community Events
Community Groups

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

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

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,

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

4,959 views 18 31
Read article

Atlassian Community Events