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

This widget could not be displayed.

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>

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

Where file should be modifed for CSS? Thanks

This widget could not be displayed.

Thanks, it is working now.

This widget could not be displayed.

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,

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

83 views 1 0
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