Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Adding approver using API instead of manual agent action

Szymon Radwan May 5, 2020

Hi

I wanted to add approver using API instead of manual agent action defined in a workflow

I already tried:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-issue-issueIdOrKey-put

Both with "update" and "fields" e.g. :

"fields": {
"summary": "Update test",
"customfield_XXXXX": [
{
"approvers": [
{
"approver": {
"accountId": "xxxxxxxxxxxxxxxxxxxxxx"
}

But only receiving 

{"errorMessages":["Internal server error"],"errors":{}}

(Update with just "summary" field works fine) 

Any hint or example will be nice :)

1 answer

1 accepted

0 votes
Answer accepted
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 6, 2020

Hello @Szymon Radwan ,

Currently it is not possible to Edit a service desk request once created via the api, and we have the following Feature request tracking interest in adding this endpoint in.  Make sure to add a vote to the request to show your interest:

However, as a partial workaround, while it is not possible to do this on an edit at the current time, there is an option during issue create and detailed in the following thread:

Regards,
Earl

Szymon Radwan May 7, 2020

Voted!

 

Thank you for your time Earl.

Like Earl McCutcheon likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events