Status change the Resolution

KirstenManica June 23, 2017

Hi! I am trying to map Issues so that 1 action completes a 2nd action. I have a field named "Status" on my Issue screen, and a field named "Resolution". One of the statuses that I have created is named "Done". I want to have a change in the field Status to "Done" to change the field Resolution to "Resolved". Can anyone help?

2 answers

1 vote
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 23, 2017

You're doing it backwards. Use a Resolution of DONE and a status of RESOLVED.

KirstenManica June 23, 2017

Hi Steven! Thank you for your input. I just replied to Nic and it sounds like you and I would need to pow-wow more before we'd be on the same page. I look forward to seeing you in the Community some more.

Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 23, 2017

No worries! I try to advertise this Status/Resolution non-sense because it's often confusing. I could have been more detailed!

Status is WHERE in the workflow should we report the status. 

Resolution is WHY the issue is in a DONE/COMPLETED state. (Done, won't do, canceled, etc)

 

KirstenManica June 23, 2017

Got it! We are at a stage that our team wants me to pare it down to such a simplified workflow.. So in effect we're using only Status and they wanted Resolution to leave us alone! So automating it so that it did whatever the Status Done did is what shook out.

Cool that you're a Community Champion!

Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 23, 2017

Thanks! Apparently I participated so heavily in the old Q&A site and wrote blogs for my old company that I was asked to be a community champion. 

I'm just happy to help with tools I love! :)

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 23, 2017

And you got voted up a lot.  I'm not going to claim I was the only person voting you up, but you deserved it.

Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 23, 2017

Hey Nic, thanks. It really means a lot coming from you.

I just don't forget anything about software and form strong opinions on the best way to use software. If that makes me a contributor, then so be it! :)

To be honest, I really miss being a Expert Partner. The ecosystem was the best I've ever been a part of. Thanks for making it that way.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 23, 2017

It's a two-way street, I've learned a lot from the community!

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 23, 2017

There is a general answer that you'll need some code to do this, specifically, javascript to get the browser to make those changes automatically.  Or, you install something like Behaviours  (it's a module of the ScriptRunner add-on) which can handle this.

However, there's another couple of problems here...

1.  Status is not a field, and you can't change it with simple edits

2.  The Resolution field should never be placed on most screens.  It is only for transition screens for transitions going into a "closed" type status (the ones shown as green)

KirstenManica June 23, 2017

Thank you. As I read what you wrote in #2, it caught my attention b/c we are in fact using the transition screens to go into a "closed" type status, the green kind :) 

One of my engineers and I sat side-by-side and we went into the workflow that was configured for the project in question. We opened the workflow in text format, opened a draft view, opened the transition in question, went to the 4th tab "Post Functions", and added a post function that indicated that after every status change of Done, it would update the Resolution to Done as well. 

One of the things I was really going after was to get the line-through that occurs when an Issue's Resolution field becomes "Done" as opposed to "Unresolved". Does that make sense? It's like the strike-through look in a typical document. That line-through gives us a nice view on our Sprint board. It was happening sometimes but not others. 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 23, 2017

Absolutely!

The trick here is understanding what the resolution field is.  I think Steven has helped you get there faster than I could.

Just on the technical side though... Most of JIRA works on the principle that when the database entry for the resolution of an issue is empty, the issue is "unresolved" (and it displays that, rather than an empty field).  When the resolution is filled, it is "resolved", with the content telling us why.

Even if you don't want to use the resolution field, you should still set and clear it appropriately, or a lot of the reporting looks odd or wrong.  Which is what you've now set up, with the post-functions  :-)

KirstenManica June 23, 2017

Got it, your explanation helps give a feel for the way JIRA "thinks". Half the battle is figuring out the other entity's language and how it/they think!

Cool that you already knew Steven :)

KirstenManica June 23, 2017

Glad you said that about the votes. I'm new and didn't remember to do that. I just went back and added a vote to the question that you helped me with before, also :)

Suggest an answer

Log in or Sign up to answer