Hello,
I was trying to use automation rules in my project, I want to determine if the tickets are created manually or cloned, if cloned then I need to set some default values for the cloned tickets.
please guide me.
Thank you so much.
Hey @Sam Tang
When you clone a ticket, by default a clone link is created to the original ticket.
So, you can write a rule with the "Related issues condition" to check if the new issue has a linked issue with "clones" type.
Then you can add an edit issue action to edit the required fields.
Thanks!
Hi @Karan Sachdev , thanks for your advice, I tried your method and it did change the value, but there is another issue. when the issue is cloned, it brings the default values from preious ticket(parent ticket), and then after some time, the value are set by my Rule 2 , but there is a time delay.
I have two rules:
Rule 1: when user create a ticket, if the user select a field A value as 'Yes', then an automation rule will run and do some tasks.
Rule 2: when user clone a ticket, then set field A default value 'No' which I planed to stop trigger Rule 1.
but the problem is : when clone a ticket, it first copy the original value from previous ticket and then set default value by Rule 2. but it trigger the Rule 1 first, which I don't want it happen.
So how can I stop the Rule 1 running when clone a tikcet? thank you.
my Rule 2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Sam,
You can add the same related issue condition to your Rule 1, just after the trigger. Just make it 'Not Present', so it will run only if there is no clone link in the new issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sam Tang and welcome to the Atlassian Community!
As an alternative to Automation that can be really complex to implement sometimes, I can suggest trying our app Elements Copy & Sync. It allows you to clone Jira issues and set default values (manually or automatically). You can clone any type of issue field and synchronize the two issues together if needed.
Don't hesitate to check the documentation, it’s really quick and easy to set up.
The app is for free during 30 days (and it stays free under 10 users).
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.