Issue field "resolutiondate" is not supported for setting

I had added a post function to clear resolved date(resolved) but i am getting the below error in the log file. There is one more funtion also existing on the workflow for clearing the Resolution field but we want to explicitly clear the Resolved date as we had seen for some reopened issues showing resolved date. we are using JIRA 6.1.6

2014-04-04 13:51:43,381 /secure/CommentAssignIssue.jspa [googlecode.jsu.util.WorkflowUtils] Issue field "resolutiondate" is not supported for setting.

2 answers

0 vote

Hi Srinivas,

please, add the following scripted post-function in order to purge Resolution Date :

import com.atlassian.jira.component.ComponentAccessor;
import com.atlassian.jira.issue.Issue;
import com.atlassian.jira.issue.IssueManager;
import com.atlassian.jira.issue.MutableIssue;
import com.atlassian.jira.event.type.EventDispatchOption;

MutableIssue issue = issue;
IssueManager issueManager = ComponentAccessor.getIssueManager();
issueManager.updateIssue(ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser(), issue, EventDispatchOption.DO_NOT_DISPATCH, false);

Hope this helps.



Why was "resolutiondate" not supported for setting?

Thanks @Fabio Racobaldo [Herzum], it works very fine also in JIRA 7.1.10


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

86 views 0 5
Read article

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