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

Help creating a link to create a new issue in Jira

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

6 answers

1 accepted

10 votes
Answer accepted

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 Community Leader Feb 27, 2019

this worked for me -- thank you!

Like # people like this

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

Awesome! It worked perfectly for Jira Cloud Thanks Craig! 

Glad to hear it!

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

This really helped! Thanks @rluks ! :D 

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?

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

 

Jira.png

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

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?

@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!

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/

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/

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?

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,431 views 22 32
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