Hello Team,
Is there a way to restrict an Automation rule or a ScriptRunner behaviour script so that it triggers only during issue creation and not when an issue is cloned? It should not execute in the case of cloning.
Thanks and Regards,
Jyoti
Jira Cloud links cloned issues to their originals by default using the “Clones / is cloned by” link type. You can use that as an indicator, but keep in mind that if the issue has been cloned multiple times, it might already have an existing Clones link.
For Automation:
For ScriptRunner Behaviours:
Behaviours are designed for controlling field behavior dynamically on the Create/Edit screens, so whether the issue is cloned or freshly created doesn’t usually matter – they’ll run based on the field values shown on the form.
Kind Regards
Utkarsh
It should be noted that when the Clone action is used in an Automation Rule it does not by default create a "clones/is cloned by" link between the source and new issue. That has to be explicitly added to the Clone action fields set. So if issues are Cloned through Automation Rules, that link may not be present.
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.