At the moment, we’re using the search call of the REST API to get the issues for a JQL and all its data (all fields and the changelog too in some cases).
At the Atlas Camp, @raimonds.simanovskis from eazyBI told us in his talk that we can try the Jira expressions REST API to get issue data instead using the search API for performance purposes. The main reason is that you can ask for 1000 results at the same with Jira expressions time and only 100 with the search API and this is so important for a big JQL.
I’ve been playing a little with Jira expression to know if it fits our necessities but I have 2 main questions at the moment:
Is there a possibility to get all issue fields? What will be the Jira expression for it? By default, I can get the issue with some basic fields (id, key, summary, type, prority, status…) but not all of them. I’m afraid if I have to map all fields, the Jira expression will be too long and it will fail. Using the search API is really simple, you only have to use the fields query param.
Can I get the changelog of the issue using Jira expressions? With the search API you only have to ask for it in the expand query param.