I'm trying to edit an issue by using the v3 API.
I want to add a comment and a label.
Documentation states i use the issue edit endpoint so i'm executing a PUT method on
https://<api_url>/rest/api/3/issue/<ISSUE_ID>
With following body
Hey @Jos Brunink ,
Welcome to Atlassian Community, thank you for your query!
I understand on a single API call/request you want to add a comment and update Label field for a Jira workitem. Please refer below API documents related to Jira Software cloud
/rest/api/3/issue/{issueIdOrKey}/comment
endpoint with the comment content in the request body./rest/api/3/issue/{issueIdOrKey}
endpoint. In the request body, you would specify the fields you want to update, including the labels.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.