Hello everybody, I need help of community
When I try to move issue from one project to another, where I have Script Field which calculates and fills itself and another fields I have Concurrent Modification Exception on that line
ComponentAccessor.getIssueManager().updateIssue(user, currIssue, EventDispatchOption.DO_NOT_DISPATCH, false)
How can I solve that problem? May be script must wait while issue created or sleep some time?
I solved this problem using
CustomField.updateValue(FieldLayoutItem fieldLayoutItem, Issue issue, ModifiedValue modifiedValue, IssueChangeHolder issueChangeHolder)
instead
ComponentAccessor.getIssueManager().updateIssue(user, currIssue, EventDispatchOption.DO_NOT_DISPATCH, false)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.