Hi, I have the following API:
> https://jiraserver.company.com/jira/rest/api/2/issue/PROJCET-1234/votes'
That's nice when a need a single request,
but I want to get the voters for 100 JIRAs - how can I do that in a single REST API vs initiating 100 requests toward the server such as:
> https://jiraserver.company.com/jira/rest/api/2/issue/PROJCET-1000/votes'
> https://jiraserver.company.com/jira/rest/api/2/issue/PROJCET-1001/votes'
> https://jiraserver.company.com/jira/rest/api/2/issue/PROJCET-1002/votes'
Is there a way ?
Hi,
The method you’re using is the only documented way to get votes, so looping through from 1-n would be the way forward.
if you have the skill set available, or it’s worth outsourcing to get this functionality, you could have a custom API endpoint added where you could post a set of issue IDs, that would leverage the internal Java APIs to get the votes and then format and return that to your application.
CCM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.