In jelly I run a filter that selects all issues that dont have a certain field set, and then updates the field and then the issue using the issuemanager updateIssue. This works perfectly and updates the issues, however the filter that selects issues based on this issue being set does not seem to reflect the changes, almost like the issue hasnt been re indexed. According the the javadocs the updateIssue on issuemanager is supposed to do this, however it doesnt.
How can I make sure the issue after being updated is re indexed and the filters reflect the changes?
Thanks in advance, David you King if you listening please help?
Try passing EventDispatchOption.ISSUE_UPDATED to the updateIssue method instead of EventDispatchOption.DO_NOT_DISPATCH. I haven't tried it myself, but I suspect that the indexer is triggered on the basis of the event being fired. I will be interested to learn if it works.
Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG