How To Make a URL That Opens a New Issue in Jira
A method that actually works
--
If your organization uses Jira, chances are that people know how to log in to the platform and create a ticket on someone else’s board or project. The problem is that not everyone actually navigates to Jira to put in tickets. Requests come in through a variety of channels. What if you just want people to use Jira?
- Maybe you want to put a link in an email that says something like Click here if you don’t have permission to see this document.
- Maybe you want your internal dashboard or help site to have a button that says Request a Feature or This doesn’t work.
- Maybe someone Slacked you and asked you to do something, but you want them to put in a ticket. You want to send them a URL that automatically starts this ticket.
I scoured the world wide web (lol) looking for a way to make a simple URL that would open an issue on Jira. Most of the tutorials were old, wrong, incomprehensible, or all three. After a few failed attempts (and after putting in a ticket of my own at work), I figured it out.
The link you need to build is:
https://{yourdomain}.atlassian.net/secure/CreateIssue.jspa?issuetype={x}&pid={yyyyy}
Step 1: Enter your domain where you see {yourdomain}.
Example: If you are using Jira at BigHappyTechCo, your domain might be BigHappyTechCo.atlassian.net
.
Step 2: Enter the issue type where you see {x}.
The issue type should be 1
, 2
, or 3
, depending on the type of issue you want people to create when they click your link.
1
= Bug2
= Story3
= Task
Step 3: Enter the project ID where you see {yyyyy}.
To find your project ID:
- On the navigation bar, click Projects. Select the project you’d like to use.
- On the navigation bar, click Project Settings.
- Look at the URL in your browser. It should end with
pid=
followed by a 5-digit number. This 5-digit number is your project ID.
Put it all together.
Imagine that your domain is BigHappyTechCo, you want your link to create a task (which is issue type 3), and your project id is 99999.
Your URL would be: https://BigHappyTechCo.atlassian.net/secure/CreateIssue.jspa?issuetype=3&pid=99999
Now, any time you want people to put in a ticket, you can just send them a URL and call it a day. You can even shorten the URL to something like tiny.cc/jiraticket.
Have fun!