Forums

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

Multiple sub-task creation based on checkbox field

Arlan March 31, 2022

I am trying to create multiple subtasks based on the values of a checkbox and a specific value in another field. I know that I can do this in Jira automation but it means that every time a new checkbox option is added i'd have to update the automation to include a new if condition to create the new subtask. I've looked up similar questions but since i dont know anything about coding i'm not able to change/piece together examples to get me what I need.

Example:

Checkbox1 has values Red, Green, Blue selected with Black and Yellow not selected.

If customfield1 = AI get a list of selected values in Checkbox1 and create subtasks with the selected value in the subject. In this example subtasks of Red, Green and Blue would be created. 

In the future if checkbox1 has value White added I wouldn't have to make any changes to the script to get a white subtask created.

Is something like this possible?

3 answers

0 votes
Michal Nedela
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 16, 2024

Did someone was successful using only JIRA automation ?

0 votes
Julie d_Antin _Elements_
Atlassian Partner
April 25, 2022

Hi @Arlan ,

This is possible with the app Elements Copy & Sync (full disclosure: I work for the vendor making the app).

You can create an operation to create multiple issues (subtasks for example) and you can specify that the issues should be created from a checklist custom field, with the text from each item in the checklist inserted into the summary. If you change the checklist custom field later, you won't have to change the Elements Copy & Sync configuration.

If the subtasks you need changes a lot or you want users to be able to customize the list, you can also use a Multi lines text field as the source for your subtasks. The person who need to create the subtasks writes in what needs to be done, and then triggers the operation.

You mention the value of another field: this should be possible by using velocity variables and setting up a template.

You can read more about precisely how to set up an operation to create multiple issues on the documentation.

0 votes
Boriz Agustin April 13, 2022

Hello, has anybody accomplished this?

Suggest an answer

Log in or Sign up to answer