I want to changes my resolved status colour based on the resolution value.
Default colour is green. If resolution is unsolved then colour should be different
That can't happen, directly.
The status colour is tied to the status, it has nothing to do with the resolution field.
In theory, you could actually write a script that changes the colour dynamically, so that when an issue changes from <no resolution> to <resolution set to something>, the colour of the status it is in changes, but that will give you massive problems, because the colour is part of the status, so ALL issues in that status will have their colour changed. Which is going to be utterly wrong.
What you need to do is design your workflow with status and resolution being indirectly tied to each other. Look at your workflow, and make sure each "ended" status is green, and the others are blue or yellow as appropriate. Then set up the transitions in the workflow such that any going from a blue or yellow status to a green one set a resolution (either by putting it on a transition screen or setting it with a post-function), and any going from a green status to a blue or yellow one clears the resolution with a post-function.
Thank you for explanation, you have explained very well.
My requirement is to differentiate issues based on resolution values.
Like, we have different values in resolution field and my project manager want to differentiate based on the colour difference.
In epic section whenever we see all the issues linked to epic this shows Resolved issues green colour for all issues. This will not shows what was the resolution for Resolved tickets.
So here we want to differentiate or any option to add resolution in issue links column
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, your manager is not going to get that - the status colour belongs to status, not resolutions.
Two things I would look at:
I suspect the first option of a derived field will solve most of the problem though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Nic Brough -Adaptavist-
Thank you for the suggestions.
I am also using script-runner only.
Let me try first option and try to solve this.
Thank you :)
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.