I want to create cross-project releases using Jira REST API.
I've tried a PUT and a PATCH request to rest/api/3/plans/plan/{planId} and I got 415 and 400 responses.
I've tried the following payloads:
PUT
{
"releases"/"crossProjectReleases": [{
"name": "2.99.0"
}]
}
PATCH
[
{
"op": "add",
"path": "/releases/-" OR "/crossProjectReleases/-",
"value": {
"name": "2.99.0"
}
}
]
I've tried Accept: application/json and Accept: application/json-patch+json.
Nothing works.
I'm able to perform different requests to different endpoints without any problem.
Can you point me on the right direction please?
Thanks