Forums

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

Automation: Creating subtasks based on components

Maciej Smogorzewski
May 23, 2021

Hi, 

Is there an option to prepare automation that allows me to create subtasks dependent on components (or other custom fields)?


Problem: 

I need to be able to prepare in the same time 2-6 clones of the same task/subtask based on a variable which allows me to assignee task to a direct team 


Example:

1. User creates a task 1
2. User chooses two components: Blue and Red. 
2. Automatically there should be created two sub-tasks (one for each component) 
3. Subtask 1 with component Blue
4. Subtask 2 with component Red
5. Title/Description are copied from a task 1

If I add more components there will be more sub-tasks automatically created. 


I would really appreciate Your help or ideas how I can set up sth like this. 

Best, 
M. 

3 answers

1 accepted

1 vote
Answer accepted
Daniel Baharestani
February 19, 2014

1- Go to Jira Administration -> Workflow Schemes

2- Edit the Wokflow Scheme that is assigned to your project

3- Click the "Add Workflow" to add a new workflow for the issue types for which you need a different workflow and assign those issue types.

PS: You can either create your own Workflows or you can download predefined workflows that suite your need.

1 vote
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.
February 19, 2014

There doesn't seem to be an "issue" here.

The status that an issue can take is determined by the workflow that the issue type is set up to use. That list is set up by you and your administrators (there is an alternative - if you are using "simplified workflows", then the available status is determined by your board, but it's still the same idea - you've got a list of status, that's the list you use)

What I'm saying is that I don't understand what you are asking. The status you use are up to you. It sounds like you've set up different workflows for different issue types - there's nothing wrong with that, and you haven't really explained why you are finding it to be a problem. Could you explain why it's not working for you? Someone must have thought it would work, so it might be worth asking them. Or, simply changing it, if your users agree.

0 votes
Daniel Baharestani
February 19, 2014

What I didn't know was that JIRA has a feature called "Workflow Schemes" which allows you to assign certain issue types to separate Wrkflows.

My problem was that I needed to change the status of a task to ToDO, InProgress or Done, and at the same time change the status of a user story to InDevelopment, ReadyForQA, etc. Which is different workflow from the "Agile Simplified".

Suggest an answer

Log in or Sign up to answer