Hello,
In my project, we have the following configuration :
When a issue type WRICEF is created, it create 3 subtask :
This work without any trouble, but we want a new feature.
When the Dev subtask is set to done, we would like that a new subtask (with WRICEF for parent issue) named Test to be created. There are two teams, one for the Dev (and some technical test) and one for functionnal test, and they don't want to share the same issue.
Is it possible to trigger the creation of the new subtask when one subtask is set to Done ?
Thank you.
Regards
Magalhaes Anthony
Hello,
If you do not have Jira Service Desk, then you would need an app like Power Scripts, ScriptRunner, Automation For Jira.
If you want to use the Power Scripts app, then you could create a post function for the required transition with a code like this:
if (isNotNull(parent) and status == "Done") {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 =
"customfield_12345|fmanaila|customfield_12346|jira-users"
;
string k = createIssue(
project
,
parent
,
"Sub-task"
,
"Summary of the sub task"
,
issue_priority,
issue_description,
issue_components,
currentDate() +
"30d"
,
issue_security_level,
custom_fields_mapping
);
}
Hi Magalhaes you need to create an automation to set up the two subtask for each team
try with https://marketplace.atlassian.com/apps/1215460/automation-for-jira?hosting=cloud&tab=overview
Hope it will be helpfull
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.