Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Untitled.png
Like this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, a read-only text field won't work - they only show up on issue-view and searches.
Is that going to be the same url every time, or is it going to vary by issue/project?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For now it should be the same link, but if the need arises there will be the possibility to create a new field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And can i do it for a simple string ? Not URL etc .. ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer, i'm going to try !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any string you want. In fact, I'd just get a simple "hello world" in there first to see where it lands, and then start adding formatting and real data later.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's Perfect !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in jira software, works fine.. Any idea how to reach this in customer portal in jira SD?
custom field both types (view and edit) are as empty and editable field when shown on portal :(
regards,
Krzysztof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Krzysztof Hotiuk - not sure if this is what you are after:
https://jira.atlassian.com/browse/JSDSERVER-570
This refer to 'Help and instructions' field for an issue type. I use it to display text and get people to confirm read.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Broughdo I understand correctly that "code" does not mean any REST API call, but only local API through Add-Ons?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay. I see now.
A custom field has to be referenced as "customfield_"+custFieldId .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nic Brough
Is your solution - using JIRA Toolkit add-on - just for JIRA Server?
Do you know if there is any solution to put some titles or URLs for read only that doesn't add data to issues, in JIRA Cloud?
Thanks,
Ruth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Cloud has the Toolkit pre-installed. Try adding a custom field of type "message (for X)"
(But you might need to ask Atlassian to enable it)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
I try set null value on read only field, but it can´t take affect.
I am using rest api 3
Help me please.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The read-only field is read-only. It can only be set by import or code running inside Jira.
REST is an external interface, not an internal function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problems is only for set null value. If I set whatever value it is updated on Jira.
I also try using scriptrunner but the problem persist, additional I am using Jira Cloud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That does not look like a message field to me.
However, I do not know how message fields might work on requests, I've only used them on issues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.