Here's my code, but it doesn't work .
mutableIssue.setResolutionDate(new java.sql.Timestamp(System.currentTimeMillis()))
Can someone help me out!
thanks a lot!
Hi @harainye ,
you code is correct but, after doing that, you need to save your changes through https://docs.atlassian.com/software/jira/docs/api/8.0.1/index.html?com/atlassian/jira/issue/IssueManager.html and in particular through method
updateIssue(ApplicationUser user, MutableIssue issue, EventDispatchOption eventDispatchOption, boolean sendMail)
Hope this helps,
Fabio
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.