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"}}}
I think this is the API call you want to make:
https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-post
@Robert Wen_Cprime_ does this mean - When I'm creating issue, I cannot assign request type?
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.
It looks like you're new here. Sign in or register to get started.