I would like all newly created issues to have default subtasks. Is this possible?
Hi @Barbara Koonce,
Here's a free plugin that might help you
https://marketplace.atlassian.com/apps/1210972/quick-subtasks-for-jira?hosting=server&tab=overview
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_description;string[] issue_components;string issue_security_level;string[] custom_fields_mapping; issue_priority =<span> </span>"Critical";issue_description =<span> </span>"Description of the issue";issue_components = components;<span> </span>issue_security_level =<span> </span>"Administrator";custom_fields_mapping =<span> </span>"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() +<span> </span>"30d", "1h 30m", issue_security_level, custom_fields_mapping );}string issue_priority;
string issue_description;
string[] issue_components;
string issue_security_level;
string[] custom_fields_mapping;
issue_priority =<span> </span>
"Critical"
;
issue_description =<span> </span>
"Description of the issue"
issue_components = components;<span> </span>
issue_security_level =<span> </span>
"Administrator"
custom_fields_mapping =<span> </span>
"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() +<span> </span>
"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
Hi Ollie,
Here is a great app for this: https://marketplace.atlassian.com/apps/1218418/automatic-subtasks-professional?hosting=cloud&tab=overview
Hope it helps
Josh
Ob1
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?
@Joshwa Marcallementioned some of these plugins that provide use for jira cloud , such as:
https://marketplace.atlassian.com/apps/1218418/automatic-subtasks-professional?hosting=cloud&tab=overview&_ga=2.231896089.74394579.1541378063-1017060183.1539831411
https://marketplace.atlassian.com/apps/1218165/add-issue-on-transition-for-jira-cloud?hosting=cloud&tab=overview
It looks like you're new here. Sign in or register to get started.