Hello,
Using Jira Automation, I'm trying to add all issues from a JQL search to a sprint that hasn't started yet.
According to the Rest API documentation, this can be done by making a POST request to the path "/rest/agile/1.0/sprint/{sprintId}/issue", sending the issue keys as an array.
My difficulty lies in how to implement the request in Jira Automation, transforming the values of the variable {{lookupIssues}} into the format:
"issues": [
"PR-1",
"10001",
"PR-3"
]