Hi.
I moved several insight object types to different scheme and replaced old objects (keys) in existing issues with new ones by using ScriptRunner. Updated issues have been re-indexed and can be filtered by the new insight object keys.
In new insight schema (object) reference to issues is not shown. However, the reference is still visible on old objects.
If I do manual update on an issue, the reference is updated correctly - visible in new scheme (object).
What needs to be done to repair/avoid this? Is there a re-index function for insight scheme?
Versions: JIRA - 4.13.4, Insight - 8.10.4
Regards,
Marjan
Insight appears to have some internal listeners that will pick up on the fact that insight custom fields have change and update its internal tracking of the connected tickets.
In my experience, you need to trigger an "Issue Updated" event on the ticket with the Insight custom field somewhere in the event changelog.
This will happen if you manually edit the custom field. But changing other fields don't trigger the connected ticket to be refreshed.
It might be possible to somehow trigger an artificial event using the IssueEventManager. But I'm not sure how you can trick the Insight Listener to pick up on the change and update the connected tickets.
That is may main challenge ... I do not want to update issues since this will add a record to issue history log, and in many cases, trigger a notification or even transition. With additional record in history log I could "live" but notifications and transitions are unwanted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I looked in the API documentation for any classes that might control the connected tickets data, but no luck.
Maybe you can ask Atlassian support directly.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.