Hi
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.
THanks David! It did the trick, the only issue is now it sends out the issue update notification even though on updateIssue i set sendEmail false. I really dont want our users to get the notifications, I am going to have to look into it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.