Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can I create a sub-task Template for JIRA Cloud?

JD Lobue
Contributor
March 2, 2019

Upon creation of a certain user type, I'd like to have common sub-tasks automatically available and linked to the created issue. We are using Jira Cloud. If someone has done this can you assist? Thanks in advance.

4 answers

0 votes
Sarah Schmitt-Bär _Seibert Group_
Atlassian Partner
April 1, 2022

Hi,

I can even recommend Easy Issue & Subtask Templates. You can create subtasks-only templates and also templates for complete issue hierarchies. It's easy to use, since you don't need any syntax and users can create templates without the need of being an administrator. 

0 votes
Joshwa Marcalle
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.
March 2, 2019

Hi JD,

I can recommend two good ones. One is for simple use cases, the other one for more advanced cases. They are great:

Automatic Subtasks Add-on
Automatic Subtasks Professional

Please tell me how it goes

Rob
OB1

0 votes
Pavel Pavlovsky_AppLiger_
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.
March 2, 2019

Hi @JD Lobue ,

You may also benefit from Easy Templates for Jira  addon that will let you create templates with subtasks per issues type.

While new issue creation - subtasks will be automatically populated.

Cheers,

Appliger Team

0 votes
Alexey Matveev
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.
March 2, 2019

Hello,

You would need a plugin for it. There are multiple plugins in the marketplace: Power Scripts, ScriptRunner, Automation for Jira.

If you want to use the Power Scripts plugin, then you could create a post function with a code like this:

string issue_priority;

//Possible values: "Major", "Critical" etc.

string issue_description;

string[] issue_components;string issue_security_level;

string[] custom_fields_mapping; 

issue_priority = "Critical";

issue_description = "Description of the issue";

issue_components = components; //an array containing all the components of the current project

issue_security_level = "Administrator";

custom_fields_mapping = "customfield_12345|fmanaila|customfield_12346|jira-users";

string k = createIssue(

            "PROJECT",

            key,

            "Sub-task",

            "Summary of the sub task" ,

            issue_priority,

            issue_description,

            issue_components,

            currentDate() + "30d",

            issue_security_level,

            custom_fields_mapping           );

This post function would create a subtask for the current issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events