I'm trying to add some static text either next to or below a field on a number of screens - especially my default view screen - but since the screens are created by adding/deleting fields, I figured I needed to add a read-only field. However, the fields that display won't include my read-only field because JIRA says:
"Note: when the screen is shown to the user only non-hidden fields that the user has permissions to edit will be actually displayed."
How do I do this? I have a custom field description, but it doesn't show up on the default issue view screen (https://mycompany.jira.com/browse/Issue-number), it only shows up when I edit the issue on the edit pop-up (screen.)
Note: I'm OnDemand, so I can't add plugins and whatnot.
The read-only field needs data behind it, and this is not what it's for
What you need is a different type of field - one that displays a message, not data. This can be done with the "message" fields from the Jira Toolkit, which I seem to remember is included in OnDemand, although you may need to enable it.
=) It was implied... I've created 2 custom fields one Message Custom Field (for view) and one Message Custom Field (for edit) and assigned them both to a transition screen. There's not much to configure for the field though that I can see, just Field Name and Description. Is there somewhere else I go to add text? All I see on the transition screen is the comments section...
@Nic Brough [Adaptavist] 'The text you want on screen needs to go in the "default" value for the field'. Do you mean that, even though a post function happily assigns a value to that field, only the "default" value is ever going to be displayed? Because that's what I'm seeing ...
Correct - the message fields are for displaying a fixed message, rather than the content of the field - that's just ignored.
If you want different text on screen, put your data in a "read only text" field. But remember as it's read-only, it will only appear on issue view.
@Nic Brough [Adaptavist] Thanks for that rapid response to my reopening an old question! I'd already found your other answer with the "read only text" field, and have just had it do what I want, but it's good to confirm that the message field doesn't do what I thought it does!
I don't think that this thread is only about plugin, for example: "The built-in read-only text field is what you need then - it cannot be edited on-screen. You have to set it with post-functions or listeners (or import from CSV)". This can be done without plugin in OnDenamd as well. I tested it right now and it works for me.. I add my test readonly field on my View Issue screen only and then create Post Function in Workflow transition to Update custom field value.. Michal
You'd have to create your own custom field type extending the system one and change its "view" Velocity template to add the tooltip attribute to the HTML. In 5.2 there is a tooltip but it doesn't seem to be the custom field's description or field configuration description either
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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!
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