How do I create a linked issue using a HTML link?

I've been trying to create a new issue linked to a parent issue by generating an HTML link, based on the guide here: https://confluence.atlassian.com/display/JIRAKB/Creating+Issues+via+direct+HTML+links

HOWEVER, JIRA seems to be ignoring the issue key, even though it's valid. The URL I'm using is this:

<base-url>/secure/CreateIssueDetails!init.jspa?pid=10101&issuetype=1&summary=hello&reporter=<reporter>&issuelinks-issues=LA-144&issuelinks-linktype=blocks

Interestingly enough, when I pass an INVALID issue key, it adds it to the list box and then complains that the issue key does not exist:

<base-url>/secure/CreateIssueDetails!init.jspa?pid=10101&issuetype=1&summary=hello&reporter=<reporter>&issuelinks-issues=yo&issuelinks-linktype=blocks

Generating this error:

Screenshot 2015-11-19 11.25.34.png

So obviously I have the right query parameters!

1 answer

It did not like the 1-4 issuetype numbers for me either. You will have to pull it from the metadata generated from:

<base-url>/rest/api/2/issue/createmeta

It will likely be 5 digits in length.  

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you