Hello Community,
we accidentally set a ticket to "Resolved" (Resolution = Done) and the date "Resolved" is now displayed.
We have set the resolution back to unresolved, but the "Resolved" date is still showing.
My question is how to set the "Resolved" date to null?
Best regards
Ezadin
How did you set the resolution back to unresolved? In all my cases where I have a post function to clear the resolution field the resolve date is also cleared. Note I am assuming that you are using a CMP project here. The only time I have seen this be an issue is if someone is not clearing the resolution field upon reopening or they have created a “unresolved“ value in the resolution field which is a very bad idea.
Hello Jack,
I used scriptrunner script in consol to reset the resolution and I like to use the same way to reset the resolution's date.
It is possible to set the resolution date with these tow lines:
....
issue.setResolutionDate(timestamp date)
issue.store()
but issue.store() is not recommended as this can cause problems (I am using Jira v8)
and
issueManager.updateIssue(user, issue, EventDispatchOption.ISSUE_UPDATED, false)
dose not save the changed Resolution Date
Best regards
Ezadin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I really can't answer that for you I have not used scriptrunner in many years to be honest. If you don't get a response from someone else here you might consider opening up a new post that specifically asks that question. Or search the community for similar questions.
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.