Hi,
I need to apply styling for some custom fields that are read only to change the background and other stuffs. Is there any other way to apply the styling for the fields apart from placing the code in announcement banner?
Kindly advise
You can actually do it but you have to make sure you are selecting the exact and unique html attributes that Jira is providing in the custom field.
The alternative is to use Scripted Fields from ScriptRunner.
https://scriptrunner.adaptavist.com/5.0.4/jira/scripted-fields.html
OR
To make sure the JS is scoped within the project or even issuetype you can use JSIncluder.
https://marketplace.atlassian.com/apps/1211670/jsincluder
It is a free add-on, you can inject a javascript code into a specific project and even issue type.
Keep in mind these are not fully supported by Atlassian, but you can always revert back to the community if there are issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.