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
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

34 views 0 2
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