How do I set a read only custom field value?

How it's possible to update a value of a read only custom field through JIRA UI?

2 answers

1 accepted

JIRA Core does not offer this by default. You can use JIRA Utilities Plugin This will enable a set custom field value in a post function in your workflow.

Why do you call a field a read-only field if you want to update it through UI ? Or is it currently a read-only custom field and now you want to turn it to en editable field ?

Your answer for this may shed some lights on how you can do it in a meaningful way.

The description does say "value can only be set by code" when you go to add one.

Hmm, I may not have enough permission to see all of the info in this ticket or what? 

I saw only the title to be: "How do I set a read only custom field value?" and one line description "How it's possible to update a value of a read only custom field through JIRA UI?"

Do you mean that there is more description than that one liner here for this ticket? Just curious to know if I miss something here.

It's not a ticket, it's a question.

I think Marcio is trying to ask and answer a question that comes up regularly so that questioners get an authoritative and simple response when they start typing their question.

Oh, I see what you mean. Thanks

Yes, Nic, it's exactly that. I understand that a read only custom field should not be update through UI, but I was wondering what would be the purpose of it if I could not updated it at all.

The only way JIRA Core offers this out of box is while importing from CSV through JIM, but setting them in the workflow looks a good alternative.

From memory, it's a hang-over from the old Mantis importer, which has been absorbed into JIM now.  Might be one of the other old importers though - it's been a while since I looked.

Nevertheless, it's a useful field for any importer, as you usually want to keep at least the old system's reference number and never change that.  It also has a lot of other uses too, as long as you are willing to do the coding (or use an add-on that has coded for you, such as JIRA Suite Utilities, as you say)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

192 views 0 6
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