Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The R4J Excel add-in allows you to import Jira issues into an Excel spreadsheet, modify them offline, and export the changes back to Jira. You can also create new requirements offline and export them to Jira. The requirements from entire projects or only specific subsets can be imported and exported back to Jira.

Table of Contents

Update Jira issues

  • Load the Jira issues to be updated, as described in Microsoft Excel Add-In. Make sure the desired fields are selected for import.

  • Modify the fields of the issues you want to update.

  • Optionally, use the Check option to review the cells that have been changed. Modified fields are marked with a yellow background.

  • Select Upload Data.

A summary of the operation (including any errors) is then displayed.

Create new Jira issues

The simplest way to create new issues is to use a worksheet in which existing issues have already been downloaded. To create a new issue, add a row with the desired values in the columns, leaving the Key column empty.
(If you don’t intend to use the worksheet to update issues or to create links between new issues and existing issues, you may delete the rows for existing issues and use the worksheet as a template for creating new issues.)

Values for Project Key, Issue Type and Summary are required. If the project configuration has other required fields and values are not provided, the Results dialog indicates the errors after the attempt to upload.

In case you want to export issues to Jira from scratch, follow these steps:

  • Prepare an Excel worksheet with the following required table headings: Key, Project Key, Issue Type, Summary. Depending on your project configuration, additional fields may be required. Add additional optional fields as needed.

  • Fill the table with the the new values for the issues to be created, leaving the Key column empty.

  • Select Upload Data.

A summary of the results of the operation (including any errors) is then displayed.

Create links between new issues or between new and existing issues

Links between new Jira issues are created by using the Excel row numbers of the issues in the Issue Links column. To create links between new Jira issues and existing issues, you use the issue key of the existing issue instead of a row number. (If the existing issue is also in the worksheet, you can use either the row number or the issue key.) The following example shows how to create links of type “specified by” and “specifies” between two new issues and to create a link of type “test” between a third new issue and an existing issue. It is not required to define both ends of the relation, Jira will take care for the second part:

...

1

...

Key

...

Project Key

...

Issue Type

...

Summary

...

Issue Links

...

Requirement Path

...

2

...

SC

...

Functional Requirement

...

New functional requirement

...

specified by:3

...

SandCastle Project/Component Requirements

...

3

...

SC

...

System Requirement

...

New system requirement

...

specifies:2

...

SandCastle Project/System Requirements

...

4

...

SC

...

Test Case

...

New test case

...

tests:SC-10

...

SandCastle Project/Test Cases

Create parent-child relationships

The Requirement Path field is used to create parent-child relationships. The path of the child issue is that of the parent issue, plus the issue key of the parent. For example, if the parent path is “Sand Castle Project/Component Requirements” and the key of the intended parent is “SC-20”, then the path of the child is specified as “Sand Castle Project/Component Requirements/SC-20”. This method also works for new children.

The parent item must already exist in Jira.

The following example shows how the existing issue SC-21 is added as a child of SC-20 and how a new issue is added as child of SC-21:

...

Key

...

Project Key

...

Issue Type

...

Summary

...

Requirement Path

...

SC-20

...

SC

...

Functional Requirement

...

Existing Functional Requirement of SandCastle (SC) project

...

Sand Castle Project/Component Requirements

...

SC-21

...

SC

...

Functional Requirement

...

Existing requirement, add as child requirement to SC-20

...

Sand Castle Project/Component Requirements/SC-20

...

SC

...

Functional Requirement

...

New requirement, add as child requirement for SC-21 (nested)

...

Sand Castle Project/Component Requirements/SC-21

Create new predefined field values

Fields such as Fix Versions contain values that are predefined by users with the appropriate project permission, e.g. the project administrators. If you have the permission to create the predefined values of a given field, and you enter a new value for the field in Excel, it will be added as a new predefined value to the project. If you do not have the project permission, the update is refused and reported as an error in the results summary.

Add values to multi-selection fields

Multiple values can be created in fields such as Labels by placing the values on new lines. The following example shows how to do this for the fields Labels, Issue Links and Fix Versions:

...

Key

...

Project Key

...

Issue Type

...

Summary

...

Labels

...

Issue Links

...

Fix Versions

...

SC-25

...

SC

...

Functional Requirement

...

Add Labels and Versions

...

important
severe

...

trace to:SC-15
trace from:SC-21

...

1.0
2.0

Create comments

...

Include Page
OFJ:Load, Update and Create Jira Issues in Excel
OFJ:Load, Update and Create Jira Issues in Excel