Is it possible get/put/post version Related Work (remote links) via rest API for versions (aka releases, not issues)?
Api endpoint
https://my.atlassian.net/rest/api/latest/version/{versionId}/remotelink responses successfully but always return empty array even I have link added. I tried also POST, but couldn't figure out what fields I should post and didn't find anything from docs.
Wondering if this is supported or not and am I doing something wrong?
Has there been any updates to this? I see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-versions/#api-rest-api-3-version-id-relatedwork-post
but I don't know where to find the body of the curl request
basically took the response object and populated it and sent as the data object
{"category":"<string>","issueId":29,"relatedWorkId":"<string>","title":"<string>","url":"<string>"}
but getting this response
{"errorMessages":["Invalid request payload. Refer to the REST API documentation and try again."]}
EDIT: got it working, issue needed to be an integer and I had it as a string, and relatedWorkId is null
{"category":"<string>","issueId":29,"relatedWorkId":"<string>","title":"<string>","url":"<string>"}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've done this, and spent some time with support, currently, the issueId isn't respected to set it up to a linked jira ticket. it'll come back in the body, but when you look at the page after setting it up through the api, you still don't see any linked issue. So maybe they'll fix that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Direct link to the Atlassian jira ticket: https://jira.atlassian.com/browse/JSWCLOUD-24200
it's still Gathering information, so it may be 4 or 5 years before they get to it. /s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @sampsasaarela ,
Here's the Atlassian documentation :
This can only be done by issue ID.
You may be better off using a JQL to grab all issues related to a version.
-Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, @Benjamin, but I don't mean issue links; I mean links to anywhere in the version page, eg: https://my.atlassian.net/projects/{project}/versions/{id}/tab/release-report-all-issues So it is not related to the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.