Forums

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

Is there a way to create a sub-task when another one closes

Deleted user
July 16, 2018

I'm working on a Video/photo editor Kanban board and I was wondering if I can change the workflow they currently have to help them.

 

Right now, each Stories CAN be divided into sub-tasks. but some are conditionnal to others.

Photo work needs to be completed but, only after the video is done.

 

so what I was thinking was something like, the person who closes the video sub-task can create a sub-task for video, or close the main story depending on the needs.

 

I'd prefer it to be automated, but I'm not sure this is achievable.

 

let me know what you guys think,

thanks,

Yannick,

Jira Admin

1 answer

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 Champions.
July 16, 2018

A simple trick would be to find or write a post-function that, when a "close subtask" transition is done, looks at the parent issue and creates a new subtask on it.

Deleted user
July 16, 2018

Do you know of a Guide or ressource that would help me do that?

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 Champions.
July 22, 2018

I'd use the ScriptRunner add-on to do it, as you can write whatever you need into post-functions.

Deleted user
July 24, 2018

Thank you,

I've installed ScriptRunner, and I'll try to build a script that does that.

Deleted user
July 24, 2018

I've managed to do a script that should work, but since I want it to be done based on a sub-task, It shows an error saying that since its a sub-task, it can't create another one.

 

is there a way I can make it so it creates the sub-task based on the parent task?

 

thanks,

Yannick

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events