Issue linking

JIRA allows you to create custom hyper-links for issues. This allows you to provide more information to the issue. For example, for a support-type issue, you can link it to a web page that contains information on how to resolve similar types of problems. Another example will be to link the issue to other related issues.

Enabling issue linking

Issue linking is enabled by default when you first install JIRA. Issue linking is configured globally, so once it is enabled, it will become available for all projects in JIRA.

If issue linking is disabled, you can enable it by the following steps to enable issue linking. Note that you need to be a JIRA administrator:

  1. Log in as a JIRA administrator user.
  2. Browse to the JIRA administration console.
  3. Select the System tab and then the Issue Linking option. This will take you to the Issue Link Administration page.
  4. Click on Activate to enable issue linking in JIRA.

From this page, you will be able to see a list of Link Types available. A link type defines the nature of the link between issues. As shown in the screenshot in the next section, the default Blocks link type defines that issue A blocks issue B. This means that issue B cannot be completed until issue A is resolved. It is important to note that issue linking does not place any restrictions on issues. So in our example, although the link states that issue B cannot be completed until issue A is done, this is not enforced and users can close issue A while issue B remains open.

All the link types shown here are for standard issue links. There are no remote issue link types. However, you do need to enable issue linking to make use of remote issue links.

Creating link types

JIRA comes with four link types by default: Blocks, Clones, Duplicate, and Relates. As we have discussed earlier, a link type is simply a type of association or a label on the association, which describes the relationships between two issues. Therefore, you can define your own link types in JIRA. For example, one issue can support another issue, and we can create a link type called Supports.

Perform the following steps to create a new link type:

  1. Browse to the Issue Linking Administration page.
  2. Make sure issue linking is enabled.
  3. Fill in the Add New Link Type form. Do the following for the Support link type:
    1. Enter Supports for the Name field.
    2. Enter supports for the Outward Link Description field.
    3. Enter is supported by for the Inward Link Description field.
  4. Click on the Add button.

Outward and inward link descriptions define what is shown when users select the type of link to use when linking two issues together. We will see an example of this in a later section. Once a new link type is added, it will be displayed in the table on the Issue Linking Administration page.

Creating link types

Linking issues with other issues

Issues are often related to other issues in some way. For example, issue A might be blocking issue B, or issue C might be a duplicate of issue D. You can add descriptions to the issue to capture this information, or delete one of the issues in the duplication case, but with this approach, it is hard to keep a track of all these relationships. Luckily, JIRA provides an elegant solution for this, with the standard issue link feature.

The standard issue link lets you link an issue with one or more other issues in the same JIRA instance. So, you can link two issues from different projects together (if you have access to both the projects). Linking issues in this way is very simple; all you need to know is the target issues to link to:

  1. Browse to the View Issue page for the issue you wish to create a link for.
  2. Select Link from the More Actions menu. This will bring up the Link Issue dialog box.
  3. Select the JIRA Issue option from the left panel.
  4. Select the type of issue linking.
  5. Select the issues to link to. You can use the search facility to help you locate the issues you want.
  6. Click on the Link button.
    Linking issues with other issues

After you have linked your issues, they will be displayed in the Issue Links section on the View Issue page. JIRA will display the target issue's key, description, priority, and status.

Linking issues with remote contents

The standard JIRA issue link allows you to link multiple issues in the same JIRA instance. JIRA also lets you link issues to resources such as a web page on the Internet.

Using remote issue links is very similar to the standard issue link; the difference is that instead of selecting another issue, the URL address of the target resource is specified:

  1. Open up the Link Issue dialog box.
  2. Select the Web Link option from the left panel.
  3. Specify the URL address for the target resource. JIRA will automatically try to find and load the appropriate icon for the resource.
  4. Provide the name for the link in Link Text field. The name you provide here will be what is shown for the link when viewing the issue.
  5. Click on the Link button.
    Linking issues with remote contents
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.108.185