Forums

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

Sub task automation

Aswathi D
Contributor
October 20, 2022

Hi 

Can we configure our jira project to create a subtask with prefilled description whenever a user story is created ?

2 answers

1 accepted

3 votes
Answer accepted
Tharaka_Hettiarachchi
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.
October 20, 2022

Hi @Aswathi D ,

 

Yes we can do this using jira automation. 

1. Go to 'Project Settings' -> 'Automation'

2. Select Create Rule

3. Create new trigger 'Issue Created'

4. Save it and select 'New Action'

5. Select 'Create Sub Task' option

 

Here you can add descriptions , Titles can customize the subtask according to your requirement

Screenshot 2022-10-21 at 12.00.59.png

 

Cheers!

Aswathi D
Contributor
October 20, 2022

Hi @Tharaka_Hettiarachchi 

Thanks 🙂

0 votes
Valerie Knapp
Community Champion
October 20, 2022

Hi @Aswathi D , thanks for your question.

In Jira server, you will likely need an app for this, like ScriptRunner or Automation for Jira.

In Automation for Jira, you can create a simple project automation for this task.

Automation for Jira works like this, you specify a trigger, a condition (if there is one) and an action.

In this case, the trigger is the creation of an issue.

The condition is to specify the type of issue that calls the trigger, in this case, the issue type of User Story.

The action is to create a Sub-task with a predefined description. You will also need to define a summary, as this field is always manadatory.

The steps are these:

Define the trigger, in this case, Issue created -

automation-trigger.PNG

Define the condition. In other words, specify the type of issue creation that calls the trigger -

automation-condition.PNG

and finally, specify the action, which is to create a Sub-task with a predefined Summary and Description -

automation-action.PNG

 

Hopefully these instructions are enough to get you started on a proof of concept but if you need more help, just keep commenting in here and I or others can help.

Aswathi D
Contributor
October 20, 2022

Hi @Valerie Knapp ,

Thank you so much for your clear explanation 😍

Like Valerie Knapp likes this

Suggest an answer

Log in or Sign up to answer