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_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;issue_security_level =<span> </span>"Administrator";custom_fields_mapping =<span> </span>"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() +<span> </span>"30d", issue_security_level, custom_fields_mapping );print ("On the project " + project +<span> </span>", issue " + k +<span> </span>"is created.");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;
issue_security_level =<span> </span>
"Administrator"
custom_fields_mapping =<span> </span>
"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() +<span> </span>
"30d"
issue_security_level,
custom_fields_mapping
);
print (
"On the project "
+ project +<span> </span>
", issue "
+ k +<span> </span>
"is created."
It looks like you're new here. Sign in or register to get started.