Forums

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

Set status of created subtask conditionally of parent

Martin_Hombach March 21, 2022

Hey there,

we created a Kanban board in Jira and everytime we create a subtask on a task/story etc, this newly created subtask lands in the backlog.
But in our case we have a status called "selected for development" (which is basically after the "backlog" but before "in development" within our workflow) and we want newly created subtasks to land in that column.

There is a condition though. If the parent is still in the backlog while we are creating subtasks, the newly created subtask should (obviously) also land in the backlog.
So our condition would be "if a created task/subtask has a parent and the parent is not in the backlog, set the status on the newly created task/subtask to X".

I already tried around with the Jira automation and the smart-values, but couldn't get it to work and it also felt like this should be way easier (for example, when I wanted to compare the status, I saw the status inside the backlog is 10135?? And I wasn't able to get a working comparison with that number/string?).

I would so much appreciate if you could help me out here.

 

Thanks in avance

1 answer

1 accepted

0 votes
Answer accepted
Mark Segall
Community Champion
March 21, 2022

Hi @Martin_Hombach and welcome to the community!

Automation should be able to handle this. Here's an example:

2022-03-21_07-37-26.png

Note - I don't have your statuses, so I used In Progress.  You would just change this to "In Development" for your rule.

Martin_Hombach March 22, 2022

Hey and thanks for the response.

How dod you create the "And: PArent matches" node there? From the icon i guess it's JQL? Because I didn't see any "Parent matches" node available. How is that JQL looking like? Because that would solve the problem for me I think.

Thanks in advance

Martin_Hombach March 22, 2022

OMG, I think I found it just now. That was a little bit hidden for me, but ok... Wil ltest this soon and report back if that worked, thanks so much already!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events