Forums

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

Creating subtask automation

SEBtheSaviour
Contributor
February 26, 2023 edited

Hello Guys!

I have following question:

  • need to do an automation for creating tasks depends on status
  • there are three custom statuses: 
    a) 1-month
    b) 3-months 
    b) 6-months
  • For each I would like to create a subtasks automatically so it would be working in following order:

    1. for 1-month: Create a task + clone a task automatically, after 1 month. Set the date in custom field for 1month then close task after this date (I already know how to close a task after certain date thanx to the Community but I don't know yet how to clone a task with a date + one month in a custom field)

    2. for 3-months: create one parent task manually, and then 2 subtasks attached to the parent task being a clone of a parent: these two automatically created after one and two months from the parent. 

    3. for 6-months status i would create one parent task by hand and then 5 more subtasks: all attached to the parent task and cloned also automatically, respectively after one-two-three-four-five months from the parent. 

    4. The parent task needs be closed after custom date (I've done an automation for this)

    5. The subtask needs to be cloned from the parent task with all fields but the custom date field needs to be set with the difference to the parent respectively, because I'd like to close this also automatically.

if there is any sophisticated way to obtain it? I simply need to fasten my work and avoid doing a manual task-creation :)
I'm gonna be editing some fields by hand in the subtasks, but doing edit in one or two fields is fine.

I thought about creating one parent and then 2 or respectively 5 subtasks at once but it won't work if something change and I'd need to cancel some by the way.

For creating task + subtask I suppose to be using similar: https://community.atlassian.com/t5/Jira-Software-questions/Automation-Scheduled-create-task-subtask/qaq-p/2189358

But the question is more about the custom date field respectively to the parent though

1 answer

1 accepted

2 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 26, 2023

Hi,

Personally, I would not create statuses like that- they are a distortion of Agile practices among other things. 

Take a look at this article and see if it would help you accomplish what you are trying to do:

https://community.atlassian.com/t5/Jira-articles/Creating-a-Flexible-Recurring-Task-Issue/ba-p/2040862

SEBtheSaviour
Contributor
February 27, 2023

thanx @John Funk it helps me a lot!

Like • John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 27, 2023

Great! Glad I could help. 

Suggest an answer

Log in or Sign up to answer