How can I show static text, an image, or a table on an issue screen when using Jira Cloud?
There are so many questions about this but all the solutions seem to use plugins with Jira Server. How is this not a built in feature?
Hello Jason,
Hope you had a nice week!
You can add text, images or tables to JIRA fields by using the formatting option provided by the wiki style renderer, however, I believe you are meaning to insert it directly in JIRA UI and not in the fields by adding some code using Javascript or HTML Syntax or customizing the CSS of JIRA Cloud pages, is it correct?
If that's the option you are looking for, this is a restrict function on JIRA Cloud since it would create an XSS vulnerability that could allow malicious users to gain system administrator permissions and use the Cloud infrastructure for nefarious purposes, as you can see in the documentation below:
- Restricted functions in JIRA Cloud applications
For now, I recommend you to use the formatting renderer to add the options you want to JIRA Cloud:
Let us know if you have this information helps. Have a nice weekend!
Hi Petterson,
No I mean I am creating an issue screen and I want to put some instructions on that screen so that whoever uses that screen can read the instructions. I could add a custom field but then how do I set a default value and make it read only?
Cheers, Jason.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jason,
Thank you for your detailed explanation. Hope you had a great weekend!
I believe there are two options for you using JIRA Cloud, however, I believe that none of them achieve all the functionalities you are looking for:
1 - Use the Text-only custom field
This option would allow you to add a not-editable text message to your issue, however, it would be only plain text. Add images or tables are not supported on this option. Here are the steps:
- Navigate to custom fields > Add a new Text-only custom field
- Add the field to your project screens
- Navigate to your project > Project settings > workflows > Edit
- Add the post function Update issue custom field to your first transition (Create) and set which is the message that should be displayed in the Text-only custom field
2 - Use the Message Custom Field (for view)
This option allows you to add any kind of formatting (Images, tables, etc) to your issue, however, the field text would be editable in the creation issue screen and blocked only after the issue creation. Here are the steps:
- Navigate to custom fields > Add a new Message Custom Field (for view)
- Add the field to your project screens
Let me know if one of these options works for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The workaround that I am using is just to put the instructions that I want into the description of the previous field. It is gross and relies on the fields to be in a particular order everywhere but it works in this case.
It is also extremely annoying how it automatically copies the description from the custom field to the description override on each field configuration. When I want to change the field description I have to first edit the description on the custom field and then go into each field configuration that uses this field and delete the description override otherwise the changes on the custom field do not propagate. This seems like an anti-feature.
I also don't really get how the "Message Custom Fields" differ from other fields. Is it just that they appear in the view/edit screens? Doesn't this duplicate the functionality from Screens?
Anyway thanks for your help.
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.