Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with resolution and status

Chethana Hashani
Contributor
June 5, 2018

Hi,

Can't I find out a way to map resolutions to status. For an instance,

 

If status == TODO

resolution == open

 

 if status == In-progress

resolution == analyzing/fixing

 

if status == Done

resolution == fixed/won't fix/duplicate

 

if status == Verified

resolution == done

5 answers

3 accepted

1 vote
Answer accepted
Pete Singleton
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 6, 2018

While your issues are 'In Progress' the resolution field should be left blank, so it will show as 'unresolved' in searches.  You should not be setting Resolution until the issue is actually resolved, whether that is Fixed, Duplicate, Done etc.  You can have multiple resolved States, allowing different resolution options if you wish, but any In Progress states should remain unresolved.

0 votes
Answer accepted
Nic Brough -Adaptavist-
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 6, 2018

This is a classic mistake by new administrators.

Never put the resolution on any screen other than a "transition" screen.

To fix this problem now, go to the project affected's configuration, find the issue type screen scheme and descend into it.  You should see it maps different issue types on to different screen schemes (there might only be one though).  Go into each screen scheme and look at each screen named in them, removing the resolution from Create or Edit screens (don't worry about view, Jira handles that for you)

Next, go to Admin -> Issues -> Screens and add a new screen, with just "resolution" on it.

Finally, go to the workflow, find the transition for "verify" and add the new resolution screen to it.

This will fix the problem, but still offer you Done, won't fix etc.  That can be fixed by the use of workflow properties, but get the resolution working correctly first.

Chethana Hashani
Contributor
June 6, 2018

Hi Nic,

I did it and it worked !

Thanks a ton !

0 votes
Answer accepted
Chethana Hashani
Contributor
June 6, 2018

Hi Pete,

Thanks for the information. But the problem is, at the very begging of ticket creation (when I create a ticket), it asks me to set the resolution and it is mandatory field in each and every ticket. How can I overcome this?

Pete Singleton
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 6, 2018

This is because the Screens and Field Configurations have been incorrectly set up.  You should not have the Resolution field present on the Create screen.  And to stop it being mandatory you will need to edit the Field Configuration.

You may need to define a new screen for when the issue moves to a Resolved state, prompting the user to set the resolution.  This screen would be used in the workflow only (not on Create).  You can read more here: https://confluence.atlassian.com/jira063/configuring-fields-and-screens-683542633.html

1 vote
Alexey Matveev
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 5, 2018

Hello,

Where do you write this script? What is the status variable?

Chethana Hashani
Contributor
June 6, 2018

Hi,

I didn't write this script anywhere yet and I wrote this to give a better idea about my problem to readers :)

Alexey Matveev
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 6, 2018

Ah, I see. Then I guess the answer of @Yogesh Mude is correct :)

1 vote
Yogesh Mude
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 5, 2018

HI @Chethana Hashani

We can map/set the status to resolution using the Update issue field post function.

Let say when the issue will create ..you need to apply the update issue field post function on create issue transition with Issue field (resolution ) and the field value (Open) and so on.

But normally we can use/set the Resolution while resolving the issue. i don't know what you are going to achieve with this.

Chethana Hashani
Contributor
June 6, 2018

Can you please clarify more :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events