Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
John Funk Community Leader Dec 20, 2019

Hi @Sakher  - 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.

0 votes
brbojorque Community Leader Dec 22, 2019

Hi @Sakher 

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. 

I like that :) 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,632 views 22 33
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you