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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to create request based on customer from REST API

  1. How we can create a customer request from API once that customer is created from API?
  2. This customer I have created form API (moudgizpawan@gmail.com) is showing active inside the project customer list.
  3. Password has been changed.
  4. I am successfully able to view this customer after login in

https://practice.atlassian.net/servicedesk/customer/user/profile link

 

 

But not able to post the request on behalf of this customer from the Rest API (Postman).

I have gone thru out from the below link and followed the instruction mansion on below link.

https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-rest-servicedeskapi-request-post

 

I am sharing the Post request content for your more easy reference to get more clearance about the concern.

 

authorization part I have given the admin login credential that I have use during creation of customer.

header 'Accept: application/json' header 'Content-Type: application/json'

 

Body

 

{

  "requestParticipants": [

    "qm:eeedea8b-637c-4b16-af79-15f6042989af:f60eb2dd-cecf-4cdd-8910-9eae00d8b678"

  ],

  "serviceDeskId": "LP",

  "requestTypeId": "Task",

  "requestFieldValues": {

    "summary": "Request JSD help via REST",

    "description": "I need a new *mouse* for my Mac"

  }

}

 

 

Regards,

Pawan

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira Service Management

Atlympic Event: Jira Service Managemnt

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

181 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you