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

Link to a create iussue Screen Edited

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

Hi @SG1337 ,

Your posted links is incorrect. Example for my instance:

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

B.R.

Hey @SG1337 - 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.  

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

Auto filling in the required Fields is not what i want

Hi @SG1337 ,

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.

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.

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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

245 views 1 2
Join discussion

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