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

This widget could not be displayed.

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...

This widget could not be displayed.

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

This worked perfectly for me, thanks.

This widget could not be displayed.

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.

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

This widget could not be displayed.

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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

576 views 25 15
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