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

To create a ticket in service desk of customer portal using REST API?

Prabhu
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!
May 22, 2024

Hi Team,

I have checked the REST API documentation for creating a service desk ticket in JIRA?

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

Will this create a ticket in customer portal?

And also in the documentation, I have founded that "requestTypeId" & "serviceDeskId" fields needs to be passed as request. Where can I find these things in Jira and how? 

Then what are the fields need to be mandatory for these to create a ticket in service desk?

 

1 answer

0 votes
Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2024

Hi @Prabhu 

Welcome to the Atlassian community.

Will this create a ticket in customer portal?

Yes.

Where can I find these things in Jira and how? 

You can check the URL. See this thread.

Then what are the fields need to be mandatory for these to create a ticket in service desk?

Summary is always required. But if you mark some other fields as required, you have to send them too.

Prabhu
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!
May 22, 2024

Thanks @Tansu Akdeniz 

Can you also tell me can we use the Basic Authentication to use these API's or do we need Oauth 2.0?

If OAuth 2.0 needed means how can I get the access token? Since I am new to the Atlassian this is slightly confusing me.

Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2024

You can do it by supplying basic auth headers described here.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events