Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,223
Community Members
 
Community Events
165
Community Groups

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

23 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)

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!

Like Matt Walker likes this

thanks, Craig.  Worked!

awesome, thanks for this tip!

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

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

Hi @Stefan 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 @Stefan pointed out?

Like Stefan likes this

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 

Like Serg Kravchenko likes this

This helped me too.

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

Like # people like this

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.

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. 

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

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?

Suggest an answer

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

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,175 views 34 44
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