Forums

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

Set the status of a sub-task based on a label of the parent task

AB November 19, 2021

Hi,

is it possible to set the status of a sub-task based on a label of the parent task?

Parent task

Labels: abc def

Action

Create sub-task

Result (standard)

sub-task with status "new"

Result (needed)

sub-task with status "in analysis" based on the label "abc" of the parent task

Thanks in advance for any hint!

Alexander

2 answers

0 votes
Nic Brough -Adaptavist-
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.
November 19, 2021

This is the sort of script you'll need to be writing to do this - https://library.adaptavist.com/entity/transition-an-issue-using-issue-input-parameters

AB November 22, 2021

Hi Nic, thank you for your response. This is not exactly what I need as the status of the sub-task is independent from the status of the parent task.

The idea is - if the parent task has the label abc then upon the creation of the sub-task its status is not new but already in progress.

0 votes
Radek Dostál
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.
November 19, 2021

I'd guess a post-function to verify if parent has label X and if so, do transition to status X, since it appears you're using the built-in dropdown menu to create the sub-task to begin with. Either that or you need automation/listener to do that but a post-function sounds the closest.

AB November 22, 2021

Hi Radek - yes. As I'm not a programmer I'm looking for an existing solution to learn from it as the built-in post-functions won't provide a solution here... ;-)

Suggest an answer

Log in or Sign up to answer