Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Direct link to create issue: error The issue type selected is invalid.

Gauthier de Spa
Contributor
March 25, 2019

Hi,

I need to create a direct link to the issue creation form, but can't get it right.

I've tested with this URL with my project ID and standard issue type ID:

https://<myspace>.atlassian.net/secure/CreateIssueDetails!init.jspa?pid=10007&issuetype=1&priority=4

And with another issue type ID I found in the HTML code:

https://<myspace>.atlassian.net/secure/CreateIssueDetails!init.jspa?pid=10007&issuetype=bug-2&priority=4

Both result in the error at the top of the form:

issuetype: The issue type selected is invalid.


How can I get my link to work?

Regards,
Gauthier

1 answer

1 accepted

1 vote
Answer accepted
Payne
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 25, 2019

issuetype should be the integer key of your issue type; are you sure that 1 is a valid ID? That doesn't sound right; our IDs are >= 10000 across the board. Visit https://<JIRA_INSTANCE>/secure/admin/ViewIssueTypes.jspa , find your request type, and hover over the Edit link to get its ID.

Gauthier de Spa
Contributor
March 26, 2019

Thanks Payne!

The URL /secure/admin/ViewIssueTypes.jspa did not work ("Your operation is taking longer than usual"), but indeed starting at 10000 I had some results and found the searched ID at 10007 :)

Cheers,
Gauthier

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events