I have several read only fields that I need to have cleared when cloning the issue.

I have Issue A that has 5 Text (Read Only) custom fields that are very useful.  However, when I clone Issue A, the clone issue B has those values and they may no longer be relevant.

Since the field is Read Only, it can't be edited.  I tried adding a Post Function on the Create transition, but the Read Only fields do not appear as options.

What can be done?

2 answers

1 accepted

This widget could not be displayed.

Much research later, this is the only viable, non-paid option that can be done without coding:

  1. Create new fields to replace the read only fields, but do not include them on any Edit screens.
  2. Use the Copy Custom Field Values built in script available from Script Runner. (https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts
  3. Find and update filters using the old, read-only field (https://answers.atlassian.com/questions/182814)
  4. **Update CRM mappings (unique to my situation) to use new fields.
  5. Remove old, read-only field from layout and field schemes.
  6. Add post function to clear the values from the new fields on "Create" so they will be empty when cloned.

Not simple, and somewhat risky.

This widget could not be displayed.

Hello Brian, I found this previous topic with some suggestions about it. One of them is using Jira Clone-Plus, but it's a paid solution.

Regards,

Rodrigo Rosa

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

143 views 1 3
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