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

1 vote

JIRA Core does not offer this by default. You can use JIRA Utilities Plugin https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities/server/overview. 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

89 views 0 5
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