Forums

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

Colored Text status in Jira Structure

Ilan Barel
Contributor
February 1, 2022

Hi, I'm trying to add column in structure (as notes) with a 'Health' text and a background color.  This can/should be only part of the structure and not part of the issue.  It doesn't seem possible.

1 answer

1 accepted

1 vote
Answer accepted
Yulia Barbash _ALM Works_
Atlassian Partner
February 2, 2022

Hello @Ilan Barel

Yulia from ALM Works here.

Do you mean that you would like to create something similar to the Confluence Status Macro in the Structure Notes Column?
If this is the case, it is not possible to do at the moment.

However, there is a way to achieve this type of stylized text using Formulas with Wiki markup. We would need to define what criteria you would be used to identify when to add a note and then create a formula to do it for you.

You can find more Formula samples with Wiki markup here.

Please let me know if this helps, or if you would like to discuss it further!

Best Regards,
Yulia Barbash
www.almworks.com

Ilan Barel
Contributor
February 2, 2022

Thanks Yulia.  

I'm aware of wiki markup.  I'm also willing to create a notes column in the structure and try to parse it in order to create a 'colored' column.  But I don't think it is possible to access the value of that column.  

Like Dave Rosenlund _Trundl_ likes this
Yulia Barbash _ALM Works_
Atlassian Partner
February 3, 2022

Hello @Ilan Barel 

It is possible to access the value of the notes column. But the notes column exists only within the structure.  So, you would need to have 2 columns.  One for the actual notes column and the other which combines the note and a color. If you did not mean the Structure Notes column, please let us know which field you did mean.

For the formula column, you can start with this:

 WITH addBackground(value, color) =
  """{panel:bgColor=$color|borderWidth=0px}$value{panel}""":
addBackground(notes, "#ADFF2F") 

In the formatting option please select Wiki markup.

Let me know if that works for you. Best regards

Best regards
Yulia Barbash
www.almworks.com

Like # people like this
Ilan Barel
Contributor
February 4, 2022

Thanks for your helpful answer.  This is still an awkward solution but it is obviously the best under the current functionality.

Like Dave Rosenlund _Trundl_ likes this

Suggest an answer

Log in or Sign up to answer