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
4,367,436
Community Members
 
Community Events
168
Community Groups

How to set the requet type in the created jira issue

I am using "/rest/api/2/issue" to create issue that is successfully getting created but i am unable to set the request type to a valid value, so that the ticket can be shared by the team with the Customer.

I tried lot of options provided on the net but it could not resolve the issue.

2 comments

Niranjan Rising Star Jun 01, 2021

Hi @Ahsan Kamal ,

We may need more information on the 'request type' that you are referring to. Are you referring to the issue type?

Here is a link that may help for issue creation : https://blog.developer.atlassian.com/creating-a-jira-cloud-issue-in-a-single-rest-call/

If you are referring issuetype : then 

"issuetype": { "name": "Bug"}

or

"issuetype": { "id": "10009"}

Daniel Ebers Community Leader Jun 06, 2021

Hi @Ahsan Kamal

were you following this article?

If so, I seem to understand it gave you back an error or did it simply not work out?

In case you could explain a bit further what you have already and where you stuck some experience Community members might be able to catch up on the current state and advise further.

Regards,
Daniel

Comment

Log in or Sign up to comment