Is there a way to hight workflow button in an issue? So it can distinguish with other buttons ?
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
>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Matthew Cobby's answer used to work but after upgrading we noticed that the UL tags were changed to DIVs.
ul#opsbar-opsbar-transitions a.toolbar-trigger was changed to div#opsbar-opsbar-transitions a.toolbar-trigger
Here is our version:
<style>
/* xxxxxxxxxxxxxxxxxx Transition Buttons Hack xxxxxxxxxxxxxxxxxx */
/* button color */
div#opsbar-opsbar-transitions a.toolbar-trigger
{
background-color: #0578a7;
color: white;
border-color: #CCCCCC;
background-image: none;
text-shadow: 0 0 0 #DDDDDD;
}
/* trigger button color */
div#opsbar-opsbar-transitions span#opsbar-transitions_more
{
background-color: #3366ff;
color: white;
border-color: #CCCCCC;
background-image: none;
text-shadow: 0 0 0 #DDDDDD;
}
/* hover on button */
div#opsbar-opsbar-transitions li:hover a.toolbar-trigger
{
background-color: #0099D5;
color: white;
border-color: #AAAAAA;
background-image: none;
}
</style>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.