Link to a create iussue Screen

GS1337 July 26, 2019

Hi,

i want to create a Link for a Dashboard where the user clicks the Link and gets to a screen where he can create an Issue for my specific Project. When you use the normal Jira link (https://jira.com/secure/CreateIssue!default.jspa) it opens the Screen i want but with the Project and Issue preselected that was last used by the User. When i use this Link i made with the project Id and Issuetype ID preset it tries to create the Issue by clickingthe Link and that shows a fail because all the required fields are not filled in. (https://jira.com//secure/CreateIssue!default.jspa.jspa?pid=15300&issuetype=14101)How can i get a link where i can preset Project and Issuetype but jira doesnt try to create the Issue on click?

3 answers

1 accepted

0 votes
Answer accepted
Andrew
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.
July 26, 2019

Hi @GS1337 ,

Your posted links is incorrect. Example for my instance:

http://localhost:8087/secure/CreateIssue.jspa?pid=10000&issuetype=10002

B.R.

mho
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 29, 2021

Please vote for https://jira.atlassian.com/browse/JRASERVER-23590 for a full featured version where all fields can be assigned with default values this way.

Like # people like this
0 votes
Sam October 29, 2019

Found URL to select Project and Issue type and create a ticket :)

https://[jiraurl]/secure/CreateIssue!default.jspa

or 

https://[jiraurl]/secure/CreateIssue.jspa?pid=10002&issuetype=10009 - no errors

Bad URL:

https://[jiraurl]/secure/CreateIssueDetails!init.jspa?pid=10002&issuetype=10009 - errors about mandatory fields

0 votes
Robb F Watkins July 26, 2019

Hey @GS1337 - I would apply the json below

https://myJIRAinstance.com/secure/CreateIssueDetails!init.jspa?pid=1234&issuetype=2&assignee=someuser&priority=4

pid = project id

issue type = issue type id

assignee = if you want to assign a assignee - their user name

set priority = priority id

*** any other required field on the create screen.  

GS1337 July 29, 2019

yes but that doesnt solve my Problem, i just want to bring up the create Issue Mask, not create the issue on clicking the Link

Like Shawn Giese likes this
GS1337 July 29, 2019

Auto filling in the required Fields is not what i want

Andrew
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.
July 29, 2019

Hi @GS1337 ,

Maybe I misunderstand, but issue won't create by link until user click 'create' button.

Could You please clarify, what mean 'issue mask'?

B.R.

Sam October 29, 2019

He has the same problem as I do.
We need a URL to open a page to create a ticket.

The problem is that when you enter that URL

...secure/CreateIssueDetails!init.jspa?pid=10002&issuetype=10009

you immediately see errors on the screen about mandatory fields.

Those errors should be visible after a user will click "Create" button not when he opens the page.

and when I enter this URL

secure/CreateIssueDetails!init.jspa?pid=10002

I got error that "issuetype: No issue type selected."

 

I saw in some post that Atlassian team member posted some comment with correct link to create a feature request in Atlassian Jira but I can't find it.
It was a page with a preselected project and with the ability to select issue type and click Next button to enter a page with all fields.

Like Daniel Brvnišťan likes this
Robb F Watkins October 29, 2019

Andrew  / Sam:

 

Can you pass the value of the required fields in the json?  Also is a Tempo Account Field Required?  Using json we were unable to get past that.  Going thru the api we could just pass the account value

micky_bamboleo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 11, 2023

Does this also work in combination with a predefined template? 

We have too much templates on our jira server, performance is a mess and selecting one requires a lot of waiting time so I would like to generate a few direct links in order to being able to create issues directly from a certain template.

Like Shawn Giese likes this

Suggest an answer

Log in or Sign up to answer