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!
I still have the same Problem.
The workaround is okay but far from good...
Could you please share your workaround?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was down below from Dec 11:
Same problem here. One workaround that I found, and might work for you:
&description=relates+to+<issue-key>or
&description=blocks+<issue-key>It converts a valid issue key to a link.
It's a workaround in the sense that it at least makes a clickable reference to the other issue. It's not a workaround in that it doesn't leverage the searchability of the normal "linked" field. If you're consistent about the description you add, you can add to the JQL expression:
text ~ "blocks <projectkey>"
or
text ~ "relates to <projectkey>"
in order to pull up all the issues you've updated this way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CreateIssueDetails!init.jspa?pid=12345&issuelinks-linktype=relates+to&issuelinks-issues=${issue.key}&issuelinks-issues=A-1 ...
I put in the first issueKey i want, then I add another issuelinks-issues= with a bogus issue to make the field populate
this does cause the error to fire, but at least the real issue does get put in place as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CreateIssueDetails!init.jspa?pid=10700&issuetype=10622&summary=hello&assignee=user&customfield_11825=10551&issuelinks-linktype=includes&issuelinks-issues=PP-535
Having the same issue, the link only seems to be added to the "Issue link" box if its an invalid issue key. Has any one figured this out yet?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you manage to find a solution? running into the exact same issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Joining @Antek Grzankaquestion. Did anyone find a solution to enter a issue in the"Issue" field of linked issues through html url?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem here. One workaround that I found, and might work for you:
&description=relates+to+<issue-key>
or
&description=blocks+<issue-key>
It converts a valid issue key to a link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm running into the same issue. Any ideas? Issuetyp number is correct according to metadata.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.