Hello,
Anyone knows if it’s possible to add/update fields in the request type using Rest API? Is there API for that at all? For instance to update assignee field/value?
Hi @NinoKezherashvili ,
Welcome to the community.
As far as I understand, you want to edit an issue using the Rest API. For that, you can use the following Edit Issue API to use in your case. Example,
curl --request PUT \
--url 'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"fields": {
"assignee": {
"name": "new_assignee_username"
}
}
}'
Hope this helps.
Cheers!!!
1 Like
Hello! Not for the issue but for the request types in Jira Service Management project. So for instance if I have request type called “Report bug” with the fields like: summary, description, assignee… I want to add other fields in the Report bug request type using API (for instance add approvers field). Is that possible?