Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to automatically assign a cloned ticket?

Adam Burgess
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2018

Hi,

Is it possible to automatically assign a cloned JIRA ticket using the post function within the workflow?

I assume its possible but not sure which post function to use?

Thanks

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 30, 2018

There is no event like clone issue that is why are unable to distinguish a cloned issue from a manually created issue. You could distinguish it by a link, for example. If so you would need an add-on like Power Scripts or Adaptivist ScriptRunner. If you have Power Scripts then your script for a post-function would look like this

if ( size(allLinkedIssues(key, "clones")) > 0) {
  assignee = currentUser();
}

You could find more info here:

https://confluence.cprime.io/display/JJUPIN/Customizing+workflows

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events