how to set the resolution based on the status?

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

5 answers

1 accepted

4 votes

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

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


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.

Agreed, please read Matthew's link, and check my answer for a quick summary of the bits of that page apply in your case.

You're not adding properties on a state, you need to add a postfunction to a transition between states that populates the resolution field. See answer above for link with example. If you're looking for resolution to automatically take on a value because it's in a state, it doesn't work like that. Also be aware that when you put a value in the resolution field, Jira will consider it "Resolved" and it will not appear in "Unresolved" reports

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"

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,305 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot