Skip to main content
Skip table of contents

Local Jira - Evaluate expression API

This example demonstrates how to retrieve all issues from one Project using the Evaluate Jira expression using enhanced search API.

Prepare a Data Source

We utilize the /rest/api/3/expression/evaluate endpoint to retrieve issues. To enable pagination for this endpoint, we include the nextPageToken variable in the following manner:

Screenshot 2025-03-03 at 15.22.19.png
CODE
"nextPageToken": "{nextPageToken}"

Setting up the Paginated Data Source

To create a new data source and utilize the Paginated Data Source type, you need to first choose the data source for pagination and then specify the pagination type. In this scenario, we opt for Cursor-based and select the previously established nextPageToken variable in the Cursor Variable section.

The Cursor Selector will target the cursor from the response:

CODE
$.meta.issues.jql.nextPageToken

The Result Selector will target the list of items that are of interest:

CODE
$.value[*]

The Finish Condition has to be set to Empty target.

The Finish Target will target the response nextPageToken that is empty if there is no more page to fetch.

CODE
$.meta.issues.jql.nextPageToken
Screenshot 2025-03-03 at 15.27.10.png
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.