Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,465,796
Community Members
 
Community Events
176
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

7 answers

1 accepted

24 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

Like Dario Šafar likes this

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 # people like this

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

Hi @Dario Šafar nothing since I wrote that call-out in May.

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
0 votes

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

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!

0 votes

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

Atlassian Community Events