Hi Abdul,
When you perform a search using the /rest/api/2/search endpoint you will get results that have a total such as the following:
{ "expand": "names,schema", "startAt": 0, "maxResults": 50, "total": 1, "issues": [ { "expand": "", "id": "10001", "self": "http://www.example.com/jira/rest/api/2/issue/10001", "key": "HSP-1" } ], "warningMessages": [ "The value 'splat' does not exist for the field 'Foo'." ] }
You could extract that value from your queries and use that in your filters. Hopefully that helps.
Cheers,
Branden
Appreciate your answer Branden, however, I could understand how to use your suggestion as I haven't used Rest API in the past . Any clues appreciated. Thanks in advance
Regards
Abdul
It looks like you're new here. Sign in or register to get started.