I'm using the Traffic Lights for Jira add-on and could use a hand with creating a rule; the rules are JavaScript, and (Darn it Jim!) I'm a Project Manager, not a Software Engineer
In plain words, here is what I want to do:
If the State field for an Issue is empty or if the Status of an issue is "Backlog" set all three traffic lights to Grey and set the State to "Backlog"
But...
If the State field for an issue is "Done" set all three traffic lights to Blue and set the State to "Complete"
If the State for an issue is something else don't do anything.
I can get the "Done" clause to work using this:
if (issue.status.name == "Done") {
issue.traficLight("State", "(#003ffc,#003ffc,#003ffc) Complete");
}
But that is about as far as I can get.
Any ideas?
-Scott
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.