Help creating a link to create a new issue in Jira

Tony
Contributor
May 28, 2018

Hi, 

I am trying to create a link so that users can create an issue from our intranet that directly opens a ticket in Jira.  

Can someone please point me in the right direction to a guide.

 

All the best tony

9 answers

1 accepted

32 votes
Answer accepted
Jenifer Kuntz
Contributor
February 22, 2019

If you still need this you can use this format for the link - 

my.jira.com/secure/CreateIssue.jspa?issuetype=1&pid=10000

You need to use your own issueType id and project id.

I had a hard time finding the project ID in Cloud so if you need that - 

  1. Go to Project>View all Projects.
  2. Click on the Project Name that you wanted to view the project id.
  3. Click on the Project Administration.
  4. Mouse-over the Edit Project button and you can view the project id in the navigation bar at the bottom of browser (In cloud I hovered over the Details link)
Sharon Helms
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.
February 27, 2019

this worked for me -- thank you!

Like # people like this
Craig Silver
Contributor
January 10, 2020

In JIRA Cloud, I had a difficult time with the steps above but here is what worked for me:

  1. Go Projects.
  2. In overflow menu for your project, select Project settings.
    The URL should now have the project ID.
  3. Still in Project settings, go to Issue types.
  4. Hover over the issue to get its URL, which shows its ID.

Here is the URL I used, for instance:

my-tennant.atlassian.net/secure/CreateIssue.jspa?issuetype=10006&pid=10000
Like # people like this
Jorge Contreras
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!
February 26, 2020

Awesome! It worked perfectly for Jira Cloud Thanks Craig! 

Craig Silver
Contributor
February 26, 2020

Glad to hear it!

Like Matt Walker likes this
Matt Walker August 20, 2021

thanks, Craig.  Worked!

Jim Alarcon April 12, 2022

awesome, thanks for this tip!

Stefan C.
Contributor
May 18, 2022

Did you achieve the 

https://????.atlassian.net/secure/CreateIssue.jspa?issuetype=???&pid=???

URL using the new layout issue creating screen?

It is always opening the old layout style

old.png

even "normal" "Create" Popup looks like this:

new.png

Like # people like this
Craig Silver
Contributor
May 20, 2022

I don't see the difference, unless you mean that clicking the Create button shows a modal (popup) window in the browser?

Hi @ultra urgent I see what you mean now.

I had created my URL from Jennifer's (above, 2019-02-22). I see that the Create button does a POST and its URL path looks quite different:

The GET:
/secure/CreateIssue.jspa?issuetype=???&pid=???

The POST:
/rest/gira/1/?operation=JiraGlobalIssueCreateModalLoad

Does anyone know how to use a GET to get the new UI experience that @ultra urgent pointed out?

Like # people like this
Deleted user July 11, 2022

Did you have any luck with resolving this problem?

One thing that old UI is missing is the option to upload images in text fields. This option is present when new issue is created via Create button. I have no issues that the GET link opens old UI, but it should at the bare minimum offer the same functionalities.

Like Curtis Fox likes this
Craig Silver
Contributor
July 11, 2022

Hi @[deleted] nothing since I wrote that call-out in May.

Like Kieran Scott likes this
Olivier Aubert
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!
July 11, 2023

I followed the steps from Craig, except that in order to find ProjectID I hovered over:
- ToolChain within the Project settings menu

 

Thanks!

Alex R
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!
October 11, 2023

I was able to find the ProjectID by going to the REST API for projects: https://<my-tennant>.atlassian.net/rest/api/3/project/search

There you can search for the key and see the associated ProjectID.

Like # people like this
Craig Silver
Contributor
October 11, 2023

Nice one, @Alex Rodriguez

16 votes
rluks
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!
August 18, 2020

I don't have admin permissions on our Jira. I couldn't go to administration section. I was able to retrieve project ID from the drop-down menu.

  • Navigate to invalid pid, eg. https://<URL>/CreateIssue.jspa?pid=100
  • The form will allow to choose projects from a drop-down menu
  • Enable developer tools in your browser (Control + Shift + J in Chrome)
  • Choose the select/inspect element button and select the drop-down
  • Find div with id="project-options"
  • Look for your project in data-suggestions and use it's value as a pid

jira pid for project.png

domingo.ashishgomes
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 9, 2020

This really helped! Thanks @rluks ! :D 

Like Serg Kravchenko likes this
Miron Veryanskiy
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!
July 30, 2021

This helped me too.

If you're also looking for issuetype, the field to search for is called "issuetype-options"

Like # people like this
Daniel Tscherwinka February 15, 2024

wow, thats jira ux :D (thanks for you tip, was very helpful!)

Like Danny Sauer likes this
Dmitrij Kultasev
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!
February 15, 2024

You can also get it by going to following url https://jira_url/rest/navigation/4/sidebar?projectIdOrKey=PROJECT_KEY You need to replace PROJECT_KEY and jira_url in that url

3 votes
Dmitrij Kultasev
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!
December 1, 2022

I don't have administrator rights so couldn't get to configuration section. This is the url you can use to get Project ID --> https://jira_url/rest/navigation/4/sidebar?projectIdOrKey=PROJECT_KEY
You need to replace PROJECT_KEY and jira_url

0 votes
Guillaume Devaleriola
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!
January 4, 2024

Hello, I am trying to set up a custom ticket creation with a link.

Is there a way of filling in the custom tempo field for accounts? customfield_10401: Account is required.

How can I submit the type of account? It does not work :(

0 votes
Ruben Silva
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!
February 24, 2023

This blog post has a comprehensive solution to create ticket with details via link: https://community.atlassian.com/t5/Jira-Software-questions/Help-creating-a-link-to-create-a-new-issue-in-Jira/qaq-p/806678

Yazan Hijji October 23, 2024

seems that you're referring to the same post we're in!

0 votes
Alexey Matveev
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.
May 28, 2018

Kindly have a look at the Issue collectors. It is a built in feature. It lets you create links for creating tickets in Jira from external resources.

https://confluence.atlassian.com/adminjiraserver071/using-the-issue-collector-802592637.html

Or you can draw your own form and use Jira Rest Api to create tickets. Here is a refrence to Jira Rest Api.

https://developer.atlassian.com/server/jira/platform/rest-apis/

Tony
Contributor
May 28, 2018

Thanks Alexey,

The issue that the issue collector runs a little button that then in turn links to the page, the rest API's are surely a little overkill, as the Jira create ticket form is fine.  I would just like to have a link in a corporate styled button to link to the create a ticket.

 

I thought this would be a simple task, however it seems that we have to make a custom form to then link and submit to Jira.  Have I got that wrong?

Alexey Matveev
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.
May 29, 2018

Out of the box you can use issue collectors. If it does not suit your requirements, you can develop your own application and use Jira Rest Api to make changes in Jira.

Jake Sheets May 20, 2022

This does not appear to be a feature on team-managed projects.  Only company-managed projects seem to provide this as an option in the project settings. 

0 votes
Madhura A S
Contributor
May 28, 2018

Jira has rest API's. Using which you can create issue in Jira from your applications. Below link might be helpful for you

https://developer.atlassian.com/server/jira/platform/creating-remote-issue-links/

0 votes
Moses Thomas
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 28, 2018

@Tony
https://marketplace.atlassian.com/apps/6398/jira-command-line-interface-cli?hosting=server&tab=overview

Use the Jira Command Line Interface in a script run on a scheduled basis.

With the CLI you can do something like this example from it's docs:

jira --action createIssue --project "servicedesk" --type "bug" --summary "userflow" --field "custom-multi-select" --values "a,b,c"

Best!

0 votes
Yogesh Mude
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.
May 28, 2018

Hi @Tony,

Create an issue from your intranet mean from where you want to create it?

Is this is your own hosted website or what?

Tony
Contributor
May 28, 2018

Yes our own hosted intranet, Create a link to the below screen.

 

Jira.png

Yogesh Mude
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.
May 29, 2018

Hi @Tony,

 

Then use the Issue Collector functionality. It will generate the Javascript and Html code then just copy the code and paste it into your own hosted website page.

For more information about issue collector please visit the below link 

https://confluence.atlassian.com/adminjiraserver071/using-the-issue-collector-802592637.html

Like # people like this
Tony
Contributor
May 29, 2018

Thanks Yogesh,

The issue is that I get this button, I am looking just to provide the link.  

Jira Button.png

 

How do I add the link generated from this JS button to a customer graphic?

Like Kieran Scott likes this

Suggest an answer

Log in or Sign up to answer