How do I clear the "Resolution" field every time an issue is edited?

I have successfully added Post Functions to each step of my workflow such that the resolution of the issue is cleared when it is transitioned from one step to the next.

My issue now is that I cannot figure out how to keep that resolution field clear when the ticket is updated throughout the course of backlog grooming or similar. I found some documentation that suggested I check the "Edit" operation in my Project Screen Scheme, but I've dead-ended here. 

The behavior I am trying to prevent is that the resolution field is updated every time a ticket is edited but the workflow is not touched. This results in the ticket appearing to be struck through on our Backlog view.

Thanks!

1 answer

This widget could not be displayed.

You need to remove the resolution field from the edit screen, it should only be put on the view and transition-to-closed-type-status screens.

Go to the project admin and look for "issue type screen scheme", amend that and you'll see it has one or many "screen schemes" associated with one or many issue types. You need to go into each one of these and look for the "screens" that are used by the "create" and "edit" actions.  Go into each one of these, and remove the resolution from the list

Thanks for the speedy reply. Will doing this still allow us to set a resolution value when we close the ticket? 

I can get to "Issue Type Screen Scheme" and eventually can drill down into a screen titled "Configure Screen" - but at this point I'm not clear how to specifically remove fields from specific actions. I only see how to configure based on issue type.

Ideally - we would like to use the resolution value to keep tabs on tickets we are deferring or closing as won't fix, but we don't want issues to appear crossed out in our scrum backlog.

Yes.  The issue type screen scheme tells JIRA what screens you want to use for Create, Edit and View actions separately. 

You don't remove fields from actions, you remove them from the screens that are used when those actions are invoked.

The other place you might need to look into is the workflow.  Each workflow transition can have a screen associated with it (and, of course, these can be totally different to the screen for create, edit or view).  In your workflow you need to do two things:

  1. When moving from an "ended" status to an "open" one, have a post-function on the transition that clears the resolution
  2. When moving from an "open" status to an "ended" one, either
    1. Have a post function that sets the resolution
    2. Use a screen that includes the resolution

An easy way to look at the workflow is to use the colours.  If the status is blue or yellow, it's an "open" type status.  If it's green, it's "ended"

 

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 18 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

45 views 1 0
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