How to make workflow button highlight in an issue?

Is there a way to hight workflow button in an issue? So it can distinguish with other buttons ?

7 answers

1 accepted

You can use CSS to highlight every workflow button quite easily. The CSS would be

ul#opsbar-opsbar-transitions a.toolbar-trigger {

  • background-color: red;
  • background-image: none;

}

ul#opsbar-opsbar-transitions span#opsbar-transitions_more {

  • background-color: red;
  • background-image: none;

}

and the question here dicusses how to inject it into the web page

https://answers.atlassian.com/questions/54624/customize-jira-with-my-own-css

If you want to highlight a specific workflow action, you'd have to start using jquery and testing web page content to find out what project it was, what state it was in and what the workflow actions were.

You can enter the CSS by editing the annoucement banner and putting in the code

<style type="text/css">

ul#opsbar-opsbar-transitions a.toolbar-trigger {

  • background-color: red;
  • background-image: none;

}

ul#opsbar-opsbar-transitions span#opsbar-transitions_more {

  • background-color: red;
  • background-image: none;

}

</style>

0 vote

Note without hacking some code really. There's nothing in the UI, and you'll need to think about how you decide which button to highlight and how to tell your css that it's different from the others

Hi Nic, Your suggestion is what I am looking for, do you have a solution and a sample code to do it? Let's say: I have 2 buttons shown up. I want to highlight only 1 of them first. After that 1st button was clicked then, highlight the 2nd buttons. Is there a way to do so? Thanks.

You can use CSS to highlight every workflow button quite easily. The CSS would be

ul#opsbar-opsbar-transitions a.toolbar-trigger {

  • background-color: red;
  • background-image: none;

}

ul#opsbar-opsbar-transitions span#opsbar-transitions_more {

  • background-color: red;
  • background-image: none;

}

and the question here dicusses how to inject it into the web page

https://answers.atlassian.com/questions/54624/customize-jira-with-my-own-css

If you want to highlight a specific workflow action, you'd have to start using jquery and testing web page content to find out what project it was, what state it was in and what the workflow actions were.

Where file should be modifed for CSS? Thanks

Thanks, it is working now.

Hi Ellen, 

If you are interested in paid plugin, take a look at this one: Conditions Validator

We have exactly what you need in 'easy in use' way.

Cheers,

For those of you who want the change the color of the text as well (since black text doesn't show up well on darker colors):

ul#opsbar-opsbar-transitions a.toolbar-trigger {
   background-color: #0058A8;
   background-image: none;
   color: #FCFCFC;
}

ul#opsbar-opsbar-transitions span#opsbar-transitions_more {

   background-color: #0058A8;
   background-image: none;
   color: #FCFCFC;
}

Hi Damon Pleasant - 

 

Is it possible to highlight each transition button as a different color? With the above script all of the transition buttons are the same colors for me. 

 

I apologize for my lack of coding experience. 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,329 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot