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

Rrquest Type JSM - Create issue

Hi

 

How can we assign request type in create issue api...

 

In knowledge base its not shown or I couldn't spot it....

 

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post

 

Here's what I have tried but I keep getting bad request error

{"fields":{"summary":"Test","project":{"key":"SomeKey"},"issuetype":{"id":"9999"},"requestTypeId":{"id":"42"}}}

1 answer

@Robert Wen  does this mean - When I'm creating issue, I cannot assign request type?

Robert Wen Community Leader Dec 13, 2021

The artifact flow in JSM is different.  A request type must be mapped to an issue and that the issue is created when the request is created.

thanks, this is exactly what I am doing in my request to create an issue (if I understand correctly :)

- I am mapping issue type id ( this alone in the request JSON works fine)

When i add RequestTypeId it fails... with bad request.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

610 views 5 12
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