I'm trying to import data from jira issues from multiple projects (via the rest api). In doing so I would like to keep track of what I've just imported. My naive attempt at this was to order the results "id" desc and on each run select the smallest id then run a query for id less than that value. However, id is resolved to a ticket key before sorting so only tickets in the same project as that id are returned. Here's a simple repro for this issue:
Ok I'm working around this by iterating through the projects, but there does seem to be a difference in behavior here either between versions 5.0.7 -> 5.1.4 or between instances.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Works fine for me! Returns both the issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What version of Jira are you on please? I'm on v5.0.7#734-sha1:8ad78a6.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
tried on 5.1.4.
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.