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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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!

5 answers

1 accepted

0 votes
Answer accepted

I still have the same Problem.

The workaround is okay but far from good...

Could you please share your workaround? 

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.

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.  

I'm running into the same issue. Any ideas? Issuetyp number is correct according to metadata.

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. 

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? 

did you manage to find a solution? running into the exact same issue

Joining @Antek Grzankaquestion. Did anyone find a solution to enter a issue in the"Issue" field of linked issues through html url?

Suggest an answer

Log in or Sign up to answer
TAGS

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