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.
As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot