Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to apply css to Jira fields using a connect addon app

mudita dixit
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 5, 2020

I have built a jira add on, using atlassian connect express framework. I am able to get the values of all the fields using rest apis within my app and I am trying to apply css to the fields that do not match a certain criteria, as specified in my app code logic.

Is there a way to access the field css attributes from within the addon and manipulate it, for eg if I want to highlight a field say 'priority' with red border around it ? 

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 9, 2020

Hello @mudita dixit

Welcome to Atlassian Community!

As you can see in the documentation below, the ability to add/edit javascript, HTML and CSS of Issue fields is a restricted function in JIRA Cloud application:

Restricted functions in JIRA Cloud applications 

The reason this feature is not configurable in Jira Cloud is that it would create an XSS vulnerability that could allow malicious users to gain system administrator permissions and use the Cloud infrastructure for nefarious purposes.

That being said, we have some feature requests to allow the ability to format specific fields descriptions in Jira Cloud, like the one below:

Priorities Description Field to Use Wiki Style Renderer 

Feel free to check on those feature requests and vote/watch to increase its priority and also receive notifications about any updates.

Let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events