Im trying to add advanced post function to my workflow.
For example- upon a specific transition- I would like the issue to be duplicated in a different project.
Any ideas on how to do it?
We use the JMWE (JIRA Misc Workflow Extensions) add-on to perform that function. And you don't have to write code!
Hi,
Thanks for this !
Does it allow you to change any fields in the issue duplicated?
assign the new ticket?
create any rules that affect the primary issue?
For example, transition an issue based on the status of the subtask opened.
So upon a specific transition a new ticket is created- duplicating all fields. and upon this sub tasks completion the previous one is transition once more to c new status.
Sorry if its too much just wanted to explain the scenarios Im trying to create....
Thanks,
Tamar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, there are lots of options for populating other fields. For example, we use it to clone a recurring need ticket and set the Due Date on the new ticket to be a month out or a year out or whatever.
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.
Welcome to the Community!
You can not do this using inbuild post function but you can find similar functionality add-ons on marketplace using which you can clone the issue on across jira project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You would need a plugin for it.
For example, you could use the Power Scripts plugin:
You could write a post function with a code like this:
string issue_priority;//Possible values: "Major", "Critical" etc.
string issue_description;
string[] issue_components;
string issue_security_level;
string[] custom_fields_mapping;
issue_priority = priority;
issue_description = description;
issue_components = components; //an array containing all the components of the current project
issue_security_level = securityLevel;
custom_fields_mapping = "STDUP|fmanaila|STDGP|jira-users";
string k = createIssue(
"PROJECT",
"",
"Task",
summary ,
issue_priority,
issue_description,
issue_components,
currentDate() + "30d",
"1h 30m",
issue_security_level,
custom_fields_mapping
);
linkIssue(key, k, "Duplicate");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.