Is there a way to change the style of a subtask within the issue view, depending on the status?

Deleted user December 20, 2019

The team asked me to highlight sub-tasks in review or in progress differently within the issue view, for example:

 

image.png

(To view it in a different colour or style,...)

 

Is there a way to do it?

2 answers

0 votes
brbojorque
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 22, 2019

Hi @[deleted] 

If you absolutely have to there is a way to do this, however this is not the best practice and it will most likely break when the version is upgraded.

You can inject a javascript/jquery code to determine if the subtask is in Progress and add a css to highlight them.

A sample code may look like below:

$('.subtask-list').each(function(e){

if(e.val() == 'In Progress'){
  e.css("style here")
}

});

 

Either you add them in Custom HTML in the look and feel or you can install a free add-on called JSIncluder to inject the script in a specific Issuetype or Project. 

Deleted user December 23, 2019

I like that :) 

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 20, 2019

Hi @[deleted]  - You will not be able to change the look and feel of the list of sub-tasks on the issue view itself. You could change the color on the board, but not in the issue view.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events