I think perhaps you wanted to ask this under Questions not Discussions?
Anyhow... :)
shetty had a good answer, but I would add to it. If you go shetty's route, you also want to make sure you clear the Resolution with a Post Function if the workflow allows the user to go back to a non-closed status, such as Reopen.
That way you only have a Resolution on actually closed issues. Unless you wanted to know it was already closed before or something like that.
You could also do the first step shetty mentioned: removing the resolution field from screens. Then set the resolution automatically with a Post Function whenever a user transitions to a closed status.
For example, if you have a Closed button/transition, you could set the resolution to Closed. If you have a Canceled button/transition, you could set the resolution to Canceled, etc. Just depends on your workflows, resolutions, and users.
Remove resolution from edit screen & all workflow screen
add screen to workflow transition to closed & have resolution field in that screen & make it mandatory by validation option.
In this way resolution can be set only while the ticket gets transitioned to closed status
& make sure that no post-function is there to set the resolution as done specially closed transition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.