Jira API search with reconcile all issues in a project

We are migrating to the new Jira API search/jql and we hit the problem similar to How do I ensure issue creation is idempotent? I.e. the new endpoint has no read-after-write consistency and the parameter reconcileIssues is totally insufficient for us.

  • Our users have distributed data (synchronised via Git or other way occasionally). We have no central DB. Our data objects have GUIDs.
  • Our Jira sync. process creates new Jira issues with our GUIDs in a Jira issue custom field or a custom property (indexed by a plugin) and uses the old Jira REST API search to find these issues by JQL to avoid creating duplicate issues.
  • Even if we make some complicated way how to sync. IDs of newly created or changed Jira issues, then our sync. process may create or change hundreds of Jira issues in one run while reconcileIssues is for max. 50 IDs only!

Is there any way how to store and retrieve Jira issues with custom data reliably? E.g. I would welcome some reconcileIssuesInProjects with list of project IDs to reconcile all issues in the given project(s).