Satisfaction comment throught update field API

Bohdan Maik December 10, 2024

 I'm updating satisfaction field using PUT request on /rest/api/2/issue/{issueId}

 

 

"fields": {

"customfield_10035": "1"
}

It works fine but in this case i can't add user comment (or i don't know how to do it right)

P.S. i use this endpoint instead of 

https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-requestidorkey-feedback-post because my app use basic auth mehod for main admin and create issues with credentials of main admin and email of customer in raiseBehalfOn field.

1 answer

0 votes
Bruna Silva
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 13, 2024

Hello @Bohdan Maik,

Thank you for reaching out to Atlassian Community!

Satisfaction and Satisfaction Date are custom fields in your instance and, when using their custom field IDs, we can set their values using the Edit issue API.

However, the Satisfaction comment is an entity property '(service-request-feedback-comment)', so you can set it using the Set entity property API. For example:

https://instance.atlassian.net/rest/api/2/issue/ABC-123/properties/service-request-feedback-comment

If you have any other questions regarding this matter, please let us know.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events