as of now status and resolution are different. i'm trying to configure resolution should be changed based on status update.
where should this be configured
They are two separate things, with no link between them.
Resolution is a field on issues. Status looks a bit like a field, but is a label for "position in workflow". There's nothing that technically ties them together.
What you actually need to do is check/amend your workflow. Each movement from one status to another is a "transition". You can add three important things to these to handle resolution
1. You can use a *post function* to CLEAR the resolution
2. You can use a *post function* to SET the resolution
3. You can use a *screen* on the transition - if you put the resolution on that screen, then the user using the transition will be shown the resolution and can set it there.
In other words, you don't associate resolution and status, you look at how status changes and then set the resolution as part of the change.
I suspect there's more depth to your question though, so I expect more questions...
You would do it throug the workflow, set a post function to update a field value. When you activate a transition from state A to state B, you set the resolution
https://confluence.atlassian.com/display/JIRA/Configuring+Workflow#ConfiguringWorkflow-Usingapostfunctiontosetafield
Hi, you may create a post function to update the status on transition. This can then set the value of resolution to anything you like on any transition that occurs to another status.
Unable to edit the workflow
i opened the workflow in edit mode and see the status. If i have to add any properties, what should i add
Why?
You need to give a bit more information than that. (Off the top of my head - you need to be a system administrator and you can't edit active workflows - look for "create draft" and you'll be able to edit and publish there)If you're not an admin, then tough, you'll need to talk to your admins to get your workflow changed.
Hello, I am trying to use postfunction to edit resolution for transitions but I cant find in the list "Clear" or "Set" reolution. Which one should I choose in order to set the resolution? thanks
Look for the post-function called "Update issue field". It will ask you to choose one of the system fields (assignee, reporter, resolution etc) and then ask you for an appropriate value to set. When you choose resolution as the field, you should get the full list, as well as "none" which will be shown as "clear resolution" when you save the post-function
Thanks alot, Can we add a new value to those options listed in the "Update issue field"
No, it only covers the built-in fields. You'll need to find a post-function that can "update custom fields" if you want to amend other fields. There's one of these in several plugins, I tend to use the one in the "jira suite utilities"
This worked perfectly for me, thanks.
Hi,
If i set post function on status field will it impact all the jira projects?
Can i isolate it to affect one project?
Post functions are applied to workflows, so if the workflow is used in other projects, this will impact other projects as well. In workflow in setting you will see that the workflow is used by how many projects and which projects are using the workflow.
You need to have Jira admin right to do this.
It looks like you're new here. Sign in or register to get started.