How to create issues associated with issue links using direct HTML links in Jira Server?

Jack Song
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 11, 2024

Hello:

I'm trying to create Jira issues using HTML links, like the following URL shows. I also want to create a link to another issue in the same URL. 

https://jira.company.com/secure/CreateIssueDetails!init.jspa?pid=26005&issuetype=1&summary=This+is+a+demo+summary&assignee=qian017&issuelinks-linktype=relates+to&issuelinks-issues=G01018-10

But after open it in the Web browser, there is no warning information. And the fileds of Linked Issues and Issue are not filled with the expected value.

So is it the correct URL to create issue links?

1 answer

0 votes
Dimitris Sylligardakis
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2024

Hi Jack, 

Not sure if I understood correctly, but check if this URL works

https://jira.company.com/secure/CreateIssueDetails!init.jspa?pid=26005&issuetype=1&summary=This%2Bis%2Ba%2Bdemo%2Bsummary&assignee=qian017&issuelinks-linktype=relates%20to&issuelinks-issues=G01018-10

Quick step guide

1. URL Encoding:

  • Make sure that special characters in your summary and potentially other fields are properly URL encoded. For example, spaces should be replaced with + or %20. You can use online URL encoding tools to help with this.

2. Field Names:

  • Double-check that pid (project ID), issuetype (issue type ID), and assignee (username) are the correct field names for your Jira instance. These might vary depending on your configuration.
  • For the linked issues, the fields issuelinks-linktype and issuelinks-issues seem correct based on common usage, but again, confirm these are the exact field names your Jira expects.

3. Issue Key Format:

  • Ensure the issue key you're referencing in issuelinks-issues (e.g., G01018-10) is in the correct format for your Jira project.

Suggest an answer

Log in or Sign up to answer