How can certain JIRA fields be restricted from cloning?

I'd like to mark some fields as 'not cloneable'. is that possible? (without customizing the cloning operation code myself)


4 answers

If you have the Jira Suite Utilities plugin....

  1. Edit the workflow.
  2. Click on the first step in the workflow.
  3. In the "Workflow Browser" section click "Create Issue" transition.
  4. Add a post function to "Clear Field Value" for each custom field you don't want to clone.
  5. Publish the workflow and try it out.

When you do a Clone it will fire the "Create Issue" transition on the cloned issue and run the new post functions clearing them out. No history will be recorded on the cloned issue showing the fields were cleared out.

Note that this also clears out fields if the users enter them when creating a new issue in that project, so it's only appropriate for fields that you don't want to use on the creation on a new issue.

Yup, but that's coding in the core of Jira...

A clean approach would be to add "not cloneable' to the feild configuration options.

btw, my use case is that i record certain control action, like 'approve', by putting the actioner's name in a field during a workflow post function execution. so cloning clones these audit fields, which is a problem.

could you please provide some more info on this. I am also in need to be able to blank fix version when cloning an issue. I see that someone said there is an option of not cloneable whithin field configuration but I can not find it? any help would be really appreciated.

did you ever figure out a way to accomplish this?

can you please let me know if there is a solution for this

No, nothing new, other than "write your own clone function"

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,315 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot