Connect ReqView with Atlassian Jira Cloud to benefit from an integrated solution for Application Lifecycle Management (ALM).
You can export requirements from ReqView to a Jira project to manage their development in Jira and fetch back into ReqView the information about the development progress. Optionally, you can also manage test cases and their execution as Jira issues using a plugin.
Notes: ReqView supports integration with Jira Software Cloud service hosting team-managed (next-gen) and company-managed (classic) projects. Jira projects must be created using Scrum or Kanban templates from the Software development category.
You can use the following workflow to manage the development of your HW/SW product in ReqView and Jira:
To enable Jira integration in ReqView, click Edit, select Preferences, and tick Integrate with Jira.
Before using ReqView and Jira together, you need to install the ReqView Connector for Jira, configure the exported requirements document in ReqView, and create a Jira API token for ReqView. If you want to manage tests in Jira then you need also to set up a Jira test management plugin.
To make the integration between ReqView and Jira easier, we have created a new Atlassian Marketplace application ReqView Requirements Management Connector for Jira:
We recommend installing this application because it enables some features (such as tracing ReqView requirements from Jira issues) and improves the performance of requirements synchronization between ReqView and Jira. On the other hand, you do not need this application for testing the basic functionality of the integration.
To install this application:
To enable the integration with Jira for the current document, click File, select Jira and then Configure Synchronization:
In the Configure Synchronization With Jira dialog, configure the integration in JSON format using the following properties:
jiraSiteUrl
— URL of your Jira site. Open your Jira project in a web browser and copy the URL with the domain name only (e.g. https://MYCOMPANY.atlassian.net
).jiraProjectKey
— key of your Jira project. Open the list of all projects in Jira and copy the Key
value of a selected project (e.g. MYPROJECT
).jiraIssueType
— type of exported Jira issues.
reqviewAttribute
— ReqView custom attribute used for mapping to Jira issue types (e.g., “type” corresponding to an enumeration attribute).mapping
— JSON object describing how Jira issue types are mapped to ReqView documents objects.
reqviewAttribute
property (e.g., “EPIC”, “STORY”, or “TASK”).jiraFields
— optional JSON object describing how the integration sets Jira issue fields, see section Export Requirements to Jira below.
reqviewAttributes
— optional JSON object describing how the integration sets ReqView custom attributes from Jira issues. See section Update Requirements From Jira below.
$URL
to fetch the URL of the Jira issue$LinkedIssues(<issue_type>)
to fetch URLs of linked Jira issues of a given type (e.g., $LinkedIssues(Test)
)$Links(<link_type>)
to fetch a list of URLs of Jira issues linked by a given link type (e.g. $Links(is tested by)
)exportAttachments
— optional, set to true
if you want to export attachments from ReqView to Jira.Notes:
Example: Open the Example Project and configure the Jira integration to export epics and user stories from the document NEEDS to your Scrum project hosted at Jira Cloud.
In the Jira cloud, find the URL of your Jira project in the browser address bar and the key of your Jira project key in the Project Settings > Details screen:
In ReqView Configure Synchronization With Jira dialog, set the URL of your Jira project in the jiraSiteUrl
property and the key of your project in the jiraProjectKey
property:
{ "action": "export", "jiraSiteUrl": "https://MYCOMPANY.atlassian.net", "jiraProjectKey": "MYPROJECT", "jiraIssueType": { "mapping": { "Epic": "EPIC", "Story": "STORY" }, "reqviewAttribute": "type" }}
The property jiraIssueType.reqviewAttribute
is set to “type” because ReqView custom enumeration attribute type is used for mapping of ReqView requirements to Jira issue types, see also Customize Attributes.
The property jiraIssueType.mapping
is set to create Jira Epic or Story issues according to the value of ReqView attribute type as follows:
For security reasons, ReqView uses Jira API tokens to access Jira projects (not passwords). You need to create your private API token in Jira Cloud API Tokens screen:
See Manage API tokens for your Atlassian account for more information.
When ReqView connects to your Jira Cloud site the first time, you can enter your Jira login email and API token in the Jira Credentials dialog:
Tick Remember checkbox to save the Jira credentials securely. To erase saved Jira credentials any time, click File select Jira, and then Clear Credentials.
Note: If Jira Cloud returns error “Jira project was not found” then please double check if:
jiraSiteUrl
configuration property is set to your Jira project URL,jiraProjectKey
configuration property is set to your Jira project ID,Default Access:
When using the default settings of Jira projects, you don't need to do anything. You can synchronize data right away.
When your project has more complex user access settings, please check that editors who will synchronize data have adequate permissions. The settings differ for company-managed and team-managed projects.
Custom Access for Team-Managed Projects:
For team-managed projects, set the “Product role” of users to “Product admin” (Settings > User Management, three dots at the selected user > Show details) or assign users “Administrator role” for the selected project (Project Settings > Access).
Custom Access for Company-Managed Projects:
In company-managed projects, minimal users' permissions for synchronizing ReqView with Jira are “Create Issue”, “Edit Issue” and “Administer Project” (e.g., Jira Settings > Issues > Permission schemes, Permissions).
Note: If Jira Cloud returns error “You cannot edit the configuration of this project” then check if you have project permission Administer Projects.
To export the current document into Jira, click File, select Jira, and then Export Document. The integration iterates the document, creates new Jira issues or updates already exported issues by setting the following issue fields:
jiraIssueType
configuration property.jiraFields
configuration property may be used instead of heading attribute.jiraFields
configuration property may be used instead.ReqView is the owner of these Jira issue fields for the exported requirements. Jira users should not change them in Jira because the integration will overwrite these fields with the following export from ReqView.
However, you can use other issue fields to plan requirements and manage the development in Jira, e.g., Status, Assignee, or Sprint.
The export process also sets non-external custom attributes mapped to Jira issue fields in configuration property reqviewAttributes
, see Document Configuration.
You can repeat requirements export to Jira for each updated document version. The process will update Jira issues created earlier or create new issues for new requirements created since the last export.
Requirements deleted (or purged) in ReqView will be marked as deleted in Jira using “[Deleted]” prefix of issue summary. You can query such issues based on the prefix to remove them permanently from Jira.
Example: Export Jira issues with the Description field set to the value of attribute text (displayed in ReqView column Description):
{ "jiraFields": { "Description": "text" }}
Example: Open the Example Project and configure the integration to export the NEEDS document so that the Description field of the exported Jira issues is set to user story description computed by ReqView template column Story:
{ "jiraFields": { "Description": "Story" }}
You can fetch information about exported Jira issues (e.g. issue URL, status, assignee, sprint, release versions) and display it in ReqView documents, RTM views, or traceability reports.
The information fetched from Jira is stored in custom attributes of the exported document. You can disable editing of attribute values by users by setting readOnly
flag to true
in the attribute definition. We also recommend setting the external
flag to true
to avoid saving fetched attribute values in the Project File or Project Folder. For more information on how to customize attributes for the current document, see Custom Document Attributes.
Example: In the Document Attributes dialog, define new external read-only custom attributes to fetch the issue URL, status, and release versions from the exported Story issues as follows:
{ "jiraUrl": { "name": "Jira URL", "type": "xhtml", "readOnly": true }, "jiraStatus": { "name": "Jira Status", "type": "string", "external": true, "readOnly": true }, "jiraFixVersions": { "name": "Fix Versions", "type": "string", "external": true, "readOnly": true }}
After defining custom attributes storing fetched information from Jira click File, select Jira, and Configure Synchronization. In the Configure Synchronization With Jira dialog, set the reqviewAttributes
property to map the custom attributes to the issue URL, an issue field fetched from Jira. You can fetch a Jira custom issue field if it is a standard field type. You can fetch also URLs of linked issues, for instance Test issues, see Manage Tests in Jira.
Example: Map custom attribute jiraUrl to the issue URL, jiraStatus to the status, jiraFixVersions to assigned release versions as follows:
{ "reqviewAttributes": { "jiraUrl": "$URL", "jiraStatus": "Status", "jiraFixVersions": "Fix versions" }}
To fetch values of external custom attributes for the current document, click File, select Jira and then Update Document.
Jira custom attributes created in ReqView first, then updated by values from Jira:
Note: Values of non-external custom attributes are set during export, see Export Requirements to Jira. The procedure is the same as described above.
If you enable the ReqView Connector for Jira, you will be able to trace requirements between ReqView and Jira in both directions by URL links.
Jira issues exported from ReqView contain a ReqView URL in a hidden property. To navigate from an exported Jira issue to the corresponding requirement in ReqView, click Open ReqView Connector in the Details right side pane and click Open in ReqView. In the Choose application to open the reqview link dialog, select ReqView application, optionally tick Always use this application to open reqview links, and finally click Open Link. For more information about ReqView URL links, see Share URL Links.
To navigate from a ReqView requirement to the corresponding Jira issue, define a custom attribute of xhtml
type and map it to “$URL” in reqviewAttributes
property of the document synchronization, as described in the previous section Update Requirements From Jira.
You can describe test cases in ReqView documents and link them to requirements by verification links conveniently. However, you also also choose to manage test cases and capture their execution results using a 3rd party Jira test management plugin, for instance Xray or Zephyr.
With these Jira plugins, you describe test cases as Test Jira issues providing information about tests steps, such as the action, test data, and expected results. Then, you link Test issues to Story issues to trace verified requirements. Finally, create test plans to schedule execution test cases, execute test plans, capture test results, and finally create defects describing found anomalies for each failed test.
Example: Manage tests in Jira using Xray plugin. See Xray documentation for more information how to install, configure and use Xray.
Test cases in Xray are described in Test Jira issues:
And, test coverage in Xray is displayed in Story Jira issues:
In ReqView, open the Document Attributes dialog and add new external read-only custom attribute to fetch URLs of linked Test issues from the exported Story issues:
{ "jiraLinks": { "name": "Jira Links", "type": "xhtml", "external": true, "readOnly": true }}
Then, open the Configure Synchronization With Jira dialog and map jiraLinks to URLs of linked Test issues as follows:
{ "reqviewAttributes": { "jiraLinks": "$LinkedIssues(Test)" }}
You can try ReqView integration with Jira easily. We have configured the Example Project for exporting epics and users stories from the NEEDS document into your test Jira Cloud project.