Forums

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

Change the colour of a field and also resize the column width on the issue view screen

Shamanth
Contributor
August 11, 2023

Hi,

I would like to change the colour of a field name and its value on the issue view screen depending on the single select value of the same field. And I want this behaviour on a specific project/issue type. I have ScriptRunner plugin and would like to make use of it.

The list values for each fields are as follows and I want the colour to be as mentioned in brackets : Problem (Red), Issues (Orange), Good (Green). 

Additionally, I would like to resize the column width of the fields, as you can see in my image that the text goes to a new line if the name of the field is long. Again, I want this resize behaviour to be specific for a project.

Screenshot 2023-08-11 193501.png 

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
August 12, 2023

Hi @Shamanth

Could you please clarify what type of fields these are?

It could be done using ScriptRunner's Fragments.

I am looking forward to your feedback and clarification.

Thank you and Kind regards,

Ram

Shamanth
Contributor
August 12, 2023

Hi @Ram Kumar Aravindakshan _Adaptavist_ 

These are single select dropdown fields with 3 options : Problem, Issues and Good.

Thank you for taking time in looking at my query, I hope to get a solution from you soon! :)

Suggest an answer

Log in or Sign up to answer