ans
Hello,
I think you need an add-on to implement this functionality.
There are a couple of add-ons in the marketplace: Power Scripts, ScriptRunner.
If you want to use the Power Scripts add-on, you could create a post function for the create issue transition 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 =
"customfield_12345|fmanaila|customfield_12346|jira-users"
;
string k = createIssue(
"PROJECT"
,
"PRJ-300"
,
"Sub-task"
,
"Summary of the sub task"
,
issue_priority,
issue_description,
issue_components,
currentDate() +
"30d"
,
issue_security_level,
custom_fields_mapping
);
print (
"On the project "
+ project +
", issue "
+ k +
"is created."
);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.