It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

6 answers

1 accepted

11 votes
Answer accepted

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

This worked perfectly for me, thanks.

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"


If i set post function on status field will it impact all the jira projects? 

Can i isolate it to affect one project? 

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you