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

How to set approvers while creating issue rest api

I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 8, 2020

Hi All,


I am brand new to JIRA Service desk and i am trying to create issue type of Service request with approvals and i want to know i can create issue with approvers using REST API.

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 14, 2020

Hello Avitesh,

Welcome to Atlassian Community!

It's possible to create a ticket via REST Api with approvers, but in this case, it will be necessary to add the field id.

Multi-user picker custom field - A custom UI field that enables multiple users to be selected.

"customfield_11458" : [ { "name":"inigomontoya" }, { "name":"tommytomtomahawk" }]

On "name" you will add QM id (if it's a customer) or the Atlassian account id (for agents).

Here is the template that I used and that successfully created a ticket with approvers:

curl --request POST \
--url '' \
--user '' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"serviceDeskId": "12",
"requestTypeId": "223",
"requestFieldValues": {
"summary": "Request JSD help via REST",
"description": "I need a new *mouse* for my Mac",
"customfield_10100": [{ "name":"1a23b45cde67f89g1h23ij4k" }]

Screen Shot 2020-04-14 at 15.21.10.png

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


Wade Hephner December 18, 2020

Thanks for that, helped a tone!

Sergei Gridnevskii
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 30, 2022

Is it possible to select approver by email, not by name? We have people with same name in Jira.

Sólrún Ásta Björnsdóttir December 18, 2022

Hi Sergei, 

You should be able to achieve this by using the email of the user to fetch the Atlassian id with the Jira REST API. Then you should be able to tunnel it into the call above. 

You will need to use "id" as key in the list instead of "name" or "username". 

AUG Leaders

Atlassian Community Events