It's a bit buried in the docs, but it is there - the field "can only be set by code or when importing". There is no code for setting it in the core of JIRA (apart from the import option), you have to find or write an add-on to do it.
What are you trying to use the field for? I ask because there may be a better option - a lot of people try to set this field when they want to put text on screen - this would unnecessarily fill up your database with lots of static duplicated data, and won't come out on the "edit" type screens anyway. There's a different answer to that.
Ok, there's a long-standing answer to this one (since JIRA 2).
It will appear on create (and whereever else you've added it), and you can change it later if you need to. And you can add more of them if you want. The field doesn't add data to issues, it's just some code that says "display the default value as a string" rather than a real field.
Hi @Nic Brough _Adaptavist_
I'm having similar issues. I want to create a read only text field on a request to give more information when a previous option is selected from a single choice select list.
I have done what you advised here, installed the Jira Toolkit and created a Message Custom Field (for edit) field. I've set the default in the config. But when I add it to my request, it just comes up with a normal single line text field, with nothing pre-set and is editable.
Any advice here? Thanks.
I've found a way to do this. I've used the Text Field (multi-line) custom field and set it as read-only in the Behaviors section which I only just found.
Settings > Manage Apps > Scriptrunner > Behaviours
Unfortunately this only works with default field types, and not for the Diviniti Rich text field which would have been nice.
If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events