I want to make a change to an issue via the API, but I don't want that change preserved in change history. Usually my groovy code looks like so when I make updates:
MutableIssue myIssue = event.issue myIssue.setFixVersions(event.issue.getParentObject().getFixVersions()) issueManager.updateIssue(userManager.getUser("automation"), myIssue, EventDispatchOption.DO_NOT_DISPATCH, false)
I'm guessing that I need to make a call to some other method, but I'm uncertain which. Can anyone lend a hand?
Community moderators have prevented the ability to post new answers.
This used to be easier than it is now. I would take a look at com.atlassian.jira.issue.managers.DefaultIssueManager#doUpdate, and call most of that except the setChangeItems bit.
They don't really want you to be doing this...
i would have though jobin, nic, or jamie would have jumped on this already for some easy karma! i'm disappointed. ;)
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.