Forums

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

Is there a way to configure JIRA where all issues have the same sub tasks?

Barbara Koonce November 2, 2018

I would like all newly created issues to have default subtasks. Is this possible?

3 answers

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.
November 3, 2018
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.
November 2, 2018

Hello,

You could also use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could create a listener on the Issue Created event with a code like this:

string issue_priority;
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; 
issue_security_level = "Administrator";
custom_fields_mapping = "STDUP|fmanaila|STDGP|jira-users";
if (issueType == "Task") {
string k = createIssue(
            "PROJECT",
            "PRJ-300",
            "Sub-task",
            "Summary of the sub task" ,
            issue_priority,
            issue_description,
            issue_components,
            currentDate() + "30d",
            "1h 30m",
            issue_security_level,
            custom_fields_mapping
           );
}

This code would create a sub task for each created task.

You can find more info about listeners here:

https://confluence.cprime.io/pages/viewpage.action?pageId=6558205

0 votes
Ollie Guan
Community Champion
November 2, 2018
Barbara Koonce November 5, 2018

Hi Ollie, this is only for JIRA when hosted on a server locally. Our JIRA instance is the hosted on the Cloud.

Is there anything for this type of JIRA instance?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events