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

0 votes
Accepted answer

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.

0 votes
Rodrigo Rosa Atlassian Team Sep 07, 2015

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.


Rodrigo Rosa

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,112 views 0 8
Read article

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