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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to create a ticket via service desk api

Hi all,

I was using the JIRA rest api to create the issue. I want to update the customer whenever someone added/ update a comment. For that purpose,  I added an automation rule.


But I found out that no emails are sending whenever somebody comments. 

Then from this post , I  understood that I have to change my request type to service desk. 


Then I found out that there is separate service desk rest api  but I could not find a proper example about create a ticket using service desk api.


Can some one please point me to the right direction.

2 answers

1 accepted

1 vote
Answer accepted

Following example worked. (ref -


with json body


"serviceDeskId": "{your id}",
"requestTypeId": "{your id}",
"requestFieldValues": {
"summary": "Request raised via service REST API",
"description": "test."

How do you specify the reporting customer?

Like Heather R likes this

I know this is a bit late for you David, but for those that come across this thread wondering, it's the "raiseOnBehalfOf" field, e.g.

  "serviceDeskId": "{your id}",
  "requestTypeId": "{your id}",
  "requestFieldValues": {
    "summary": "Request raised via service REST API",
    "description": "test."
  "raiseOnBehalfOf": ""

Like # people like this
0 votes
Elisa Gutierrez
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!
Mar 22, 2023


Whats the whole URL used for this? I guess this is just the last part of the URL rest/servicedeskapi/request


Thank you

Suggest an answer

Log in or Sign up to answer