I received a question this month, asking how to link from JIRA to a Confluence page. I’ve been thinking about doing exactly this, so that we can keep Specification documents in Confluence, and then link to them from a JIRA issue. Here’s what I found.
Looking through the Atlassian documentation, I discovered a plugin called the JIRA Linker, which lets you create a custom field and a Search button, so that you can search for a Confluence page and link to it.
[Confluence 3.5, JIRA 4.3]
1. Download and install the JIRA Linker plugin
- In JIRA, from the Dashboard, click Administration.
- Select JIRA Administration.
- Click Plugins.
- Click Install, and then search for “JIRA Linker”. (For some reason the Search didn’t work for me, but once I showed all available plugins, I could scroll through the list and find the JIRA Linker plugin.)
- Install the plugin, and then restart the JIRA service.
2. Configure the JIRA Linker plugin
- Follow the plugin configuration instructions to:
– Add the Search image (search_16.png) file to JIRA’s images/icons directory.
– Configure your custom Confluence server address. - Restart the JIRA service.
3. Configure Confluence to enable Remote API Access
- In Confluence, from the Dashboard, click Browse, Confluence Admin.
- Click General Configuration.
- Click Edit.
- Select the Remote API check box.
- Click Save.
4. Add a custom field in JIRA
- In JIRA, from the Dashboard, click Administration.
- Select JIRA Administration.
- Click Custom Fields.
- Click Add Custom Field.
- Select the URL Link Field radio button, then click Next.
- Enter a name for the field.
- Select the appropriate issue types. (I selected Any issue type, for testing purposes.)
- Select an applicable context – Global, or a particular project. (I used the default.)
- Click Finish.
- Select which screens you want the field to appear on. (I selected all three options for testing.)
5. Link to a Confluence page from a JIRA issue
- Open a JIRA issue for editing.
- Navigate to the new custom field you added.
- Click the Search icon to the right of the field.
- In the Search dialog box, enter a search term to find the Confluence page you want to link to.
- When the Search results are displayed (this might take a few seconds or more), select the page you want to link to.
- Click Update.
Presto! It works!
If you liked this post, consider subscribing to my RSS feed. Or have posts delivered via email. Thanks for visiting!
Photo via Flickr user BFS Man