We are looking to create few epic issues automatically when a epic jira is created, can someone please advise. Thank you.
Hi Santosh,
you should have a look around for the available workflow apps on the marketplace that'll help you to automate this task. Each one should enable you to use a post function to create new tasks in the create transition of your epic in your project. Just to mention a few:
most of them offer plenty of more possibilities to enhance your Jira workflows than just by creating a few sub-tasks :)
Best, Max
Hello,
You could also use the Power Scripts add-on:
You could create a listener for 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;
if (issueType == "Epic") {issue_priority =
"Critical"
;
issue_description =
"Description of the issue"
;
issue_components = components;
issue_security_level =
"Administrator"
;
custom_fields_mapping =
"STDUP|fmanaila|STDGP|jira-users"
;
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 listener would create an issue, if an epic was created.
You can read more info about listeners here:
https://confluence.cprime.io/pages/viewpage.action?pageId=6558205
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.