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

Jira Server Request Type KEY value

We are trying to create a new issue in Jira server using python. The project has 3 different request types, when creating the issue, it fails due to not including the request type in the Create_issue. We have the Request type ID but we cant seem to find the request type KEY value needed. According to:

https://confluence.atlassian.com/jirakb/how-to-set-request-type-when-creating-an-issue-via-rest-api-using-rest-api-2-issue-endpoint-938041214.html

We have checked /rest/servicedeskapi/servicedesk/2/requesttype/ and that gives information on the requesttype ID but not the KEY. Where can we find the key so that we can include the requet type in the creation of the issue.

1 answer

Hey @RL

I have been searching for this as well and can't seem to find a good answer here.

But there is a way if you have the Jira Workflow Toolbox (JWT) plugin installed. On the Manage Apps page you can find the tab for the Expression Parser Test Page. Here you can choose the field "Request Type" and the the issue with the request type you're searching the key for.

When you run it, it will give you the right key with the portal ID in front and all.

I hope there is another answer to this as well. I was lucky to have the JWT app installed in our Jira instance and was able to quickly get the right key.

Best,
Jousef

Ah interesting, ill look into that! YEs it would be great to find this information easier though, its a bit of a pain otherwise!

 

thanks

Like Jousef Waggad likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.9.1
TAGS
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,608 views 20 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