Forums

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

Automation: Do something if issue is NOT a clone

Chris Fortmueller
Contributor
September 17, 2021

We have an automation rule that uses a branch rule to do something to the related issue that the issue in question is a clone of.

 

I would like to do some other action, if and only if, the issue in question is not a clone of another issue.

 

Is there a way for me to find out in automation if an issue is a clone of another issue, or not? I am thinking smart values might offer something like this?

3 answers

1 accepted

6 votes
Answer accepted
Bill Sheboy
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 Leaders.
September 17, 2021

Hi @Chris Fortmueller 

I do this by adding a related issues condition to exclude them when checking a created issue trigger.  For example:

  • related issues: linked issues
  • link types: "is cloned by", and "clones"
  • condition: are not present

Kind regards,
Bill

Chris Fortmueller
Contributor
September 18, 2021

Hey @Bill Sheboy yes, I actually managed to find that option on my own some time later. This does exactly what I want. Thanks @Bill Sheboy ! :) 

Like Bill Sheboy likes this
0 votes
Varsha Mungale
Contributor
February 13, 2025

Hi Chris, 
This solution has worked for me.
In the automation, I am deleting the newly cloned ticket because a lot of custom fields are getting cloned and i cannot find a way to customize this.
Pls help if you know a way of restricting fields from getting copied over (other than Links and Sprint that jira provides)

0 votes
John Funk
Community Champion
September 17, 2021

Hi Chris,

Can you share your workflow? That will help me track what you are asking better. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events