Hi All,
I'm currently working on a PowerShell function which would create Jira issues via REST API. Once the issue is created, the ideal would be to move the item to an active sprint.
During testing, I tried to make the move based on the official Atlassian documentation https://developer.atlassian.com/cloud/jira/software/rest/api-group-sprint/#api-rest-agile-1-0-sprint-sprintid-issue-post
When I try to run invoke-restmethod, I do not get any error message instead PowerShell returns a PS custom object with all the issues which are in the given sprint but the actual move of the issue to this sprint does not happen.
Any help on this matter would be appreciated.
The Json variable looks like this:
$Json = @"
{
"issues": [
"issueID"
]
}