How to clear fields value when an issue is cloned? Automation rule and workflow rule does not seem to work while Clone feature is used.
Hi @Jignesh Jaiswal
When you use the Clone Issue action in an automation rule, you have the option to override the value of any fields.
So if you do not want a field to copy from the source issue, just select that field in the action and clear the value. If the field is not shown in the drop-down list, you may use the advanced edit with JSON feature to clear the field.
Kind regards,Bill
You don't. There's no mechanism for this because cloning means cloning - it is supposed to create a copy of the source issue that is as close to the original as possible, and that means copying all the fields.
hi @Nic Brough -Adaptavist- Thanks for the reply. is there any way to stop cloning for a project?
hi @Bill Sheboy I tried, that, but its not clearing the fields too. I have this rule created against "Issue Created" but it seems the Clone is being treated differently than Created. Any workaround would be appreciated.
Please post images of your complete automation rule, including the details of your Clone Issue action, and of the audit log details showing the rule execution. Those may provide context for what you are describing.
hi @Bill Sheboy here it is
If you are willing to try a third-party app, our Deep Clone for Jira could help you.
With our Clone and Edit feature, you can edit or clear specific field values while cloning issues.
hi @Luka Hummel - codefortynine Sorry we are only looking for existing Jira feature for now. Our usage is limited so don't yet want to use any third party.
No, it's a function of "create issue" - if someone can create an issue in a project, then they can use clone.
This got fixed, as soon as i removed the "if condition that checks if the field was empty".
It looks like you're new here. Sign in or register to get started.