{"id":19118,"date":"2023-01-13T05:34:55","date_gmt":"2023-01-13T05:34:55","guid":{"rendered":"https:\/\/44.225.35.201\/testrail\/docs\/801\/integrate\/requirements-and-defects-integrations\/available-integrations\/integrate-with-rally\/"},"modified":"2023-09-14T15:20:29","modified_gmt":"2023-09-14T06:20:29","slug":"rally","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/integration-guide\/requirements-and-defects-integrations\/available-integrations\/rally\/","title":{"rendered":"Integrate with Rally"},"content":{"rendered":"<p>This topic explains how to integrate TestRail with Rally. There are currently four ways to integrate TestRail with Rally, namely:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Using defect URLs to link test results to Rally<\/li>\n<li>Using\u00a0reference URLs to link test cases to Rally<\/li>\n<li>Using the\u00a0defect plugin for Rally to push and look up Rally issues in the Defects field of test results<\/li>\n<li>Using the reference plugin for Rally to look up Rally issues in the References field of TestRail entities such as test cases, test runs, and milestones<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p id=\"defect_urls\">You don\u2019t have to use all listed integration options, and you can mix and match the integration with other tools. Configuring the integration usually only takes a few minutes. This guide explains how to configure the integration and how it works.<\/p>\n<div class=\"et_pb_module et_pb_text et_pb_text_1  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h2 id=\"DefectURLs\">Defect URLs<\/h2>\n<p>The defect URLs are used to let TestRail know how to convert a Defect ID into a URL for your Rally instance. There are two types of URLs: View URLs and Add URLs.<\/p>\n<p>The\u00a0<strong>Defect View URL\u00a0<\/strong>is used to build a link to Rally based on the Defect ID, so you can simply click on an ID to open the issue directly in Rally.<\/p>\n<p>The\u00a0<strong>Defect Add URL\u00a0<\/strong>is used to create a link to the issue creation screen inside Rally. Once the URL is configured, a new Add link appears next to the Defects field in the Add Test Result dialog and the \u2018Defects\u2019 menu in TestRail\u2019s\u00a0<a href=\"\/requirements-and-defects-integrations\/configuring-defect\/#i-9\" target=\"_blank\" rel=\"noopener\">Push Defect From Anywhere<\/a>\u00a0feature. This link allows you to jump to Rally\u2019s New Issue form to report a new bug.<\/p>\n<p>If you use the\u00a0<strong>\u2018Add\u2019\u00a0<\/strong>link, you can copy the ID of your new Rally issue and enter it into any Defects or References field inside TestRail.<\/p>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_2  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>You can configure Rally\u2019 URLs in TestRail globally under\u00a0<em>Administration &gt; Integration\u00a0<\/em>or on a per-project basis within any project\u2019s settings. Use the following example URLs to configure the addresses:<\/p>\n<\/div>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Rally Installation\nDefect View URL:https:\/\/rally1.rallydev.com\/#\/search?keywords=%id% \nDefect Add URL:https:\/\/rally1.rallydev.com\/#\/dashboard?detail=%2Fdefect%2Fnew&amp;fdp=true<\/pre>\n<div class=\"et_pb_module et_pb_text et_pb_text_4  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>Please make sure to replace\u00a0<em>rally1.rallydev.com<\/em>\u00a0with the actual URL of the Rally instance you want to integrate with.<\/p>\n<p>If you have the defect plugin configured, you\u2019ll also be able to hover over the defect ID to view the issue details directly from within TestRail.<\/p>\n<h2 id=\"ReferenceURLs\">Reference URLs<\/h2>\n<div class=\"level2\">\n<p>The reference URLs are implemented in a very similar manner to Defect URLs described above. The primary difference is Reference URLs are used for the \u2018References\u2019 field on various TestRail entities (instead of the Defects field).<\/p>\n<p>The Reference\u00a0<strong>View URL<\/strong>\u00a0is configured in the same manner as described above and allows TestRail to create a direct link to a Rally based on an ID entered into a References field.<\/p>\n<p>The Reference\u00a0<strong>\u00a0Add URL\u00a0<\/strong>is also configured in the same way as the Defect Add URL. Once configured, an\u00a0<strong>\u2018Add\u2019<\/strong>\u00a0link will appear next to each References field in your instance or project. If you use the\u00a0<strong>\u2018Add\u2019<\/strong>\u00a0link, you can copy the ID of your new Rally issue and enter it into any Defects or References field inside TestRail.<\/p>\n<p>If you have the Reference plugin configured, you\u2019ll also be able to hover over a Reference ID to view the issue details directly from within TestRail. Keep reading to learn how to use and configure the Defect and Reference Plugins.<\/p>\n<div class=\"et_pb_module et_pb_text et_pb_text_6  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h2 id=\"Defectplugins\">Defect Plugin<\/h2>\n<p>Defect plugins can be used to implement a tight bug tracker integration and TestRail comes with a ready-to-use Rally defect plugin. To configure the defect plugin, select\u00a0<strong>Administration &gt; Integration<\/strong>\u00a0and select\u00a0<em>Rally<\/em>\u00a0in the\u00a0<strong>Defect Plugin<\/strong>\u00a0dropdown list. The next step is to configure all the necessary connection settings. Project-specific plugins and configuration settings can optionally be specified under\u00a0<strong>Administration &gt; Projects<\/strong>.<\/p>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_7  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>Please make sure to use your workspace\u00a0<strong>ID<\/strong>\u00a0and not the workspace name. Broadcom has a guide for determining this ID <a href=\"https:\/\/knowledge.broadcom.com\/external\/article\/47763\/rally-find-object-ids-of-current-worksp.html\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_8  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p id=\"customizations\">When the defect plugin has been configured, a new <em>Push<\/em>\u00a0link is shown next to the\u00a0<strong>Defects<\/strong>\u00a0field in the A<strong>dd Test Result<\/strong>\u00a0dialog. Clicking the link will open a popup dialog that enables you to push a bug report to Rally without leaving TestRail.<\/p>\n<div class=\"level2\">\n<p>Once the test result is added, hovering the mouse cursor over a defect ID will open a window with useful information and status details about the defect in Rally.<\/p>\n<div class=\"et_pb_module et_pb_text et_pb_text_9  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h2 id=\"Customizations\" class=\"sectionedit4\">Customizations<\/h2>\n<div class=\"level3\">\n<p>The Rally defect plugin was built to work with a standard Rally configuration. TestRail allows you to customize the fields which appear in the Push dialog as well as when hovering over Defect IDs. Preconfigured push fields and hover fields can be set to \u2018on\u2019 or \u2018off\u2019 in their respective [push.fields] and [hover.fields] sections, or change the order in which they appear by the fields in each section.<\/p>\n<p>Please keep in mind some fields (such as the title field) are always enabled and may not appear in these sections due to always beings required by either TestRail or Rally.<\/p>\n<p>The Rally Defect Plugin also supports modifying field properties as well as custom fields.<\/p>\n<p>In addition to enabling, disabling, or re-organizing fields as described above, it\u2019s also possible to change additional options per field. To do this, you would define a section for the field, such as [push.field.description], and specify additional options within this section.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\">[push.field.description]\nlabel=Detailed Description\nrequired=true<\/pre>\n<div class=\"et_pb_module et_pb_text et_pb_text_4  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"level2\">\n<div class=\"et_pb_module et_pb_text et_pb_text_8  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"level2\">\n<div class=\"et_pb_module et_pb_text et_pb_text_11  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>Please see below for a full list and explanation of the available field options:<\/p>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%; height: 309px;\">\n<thead>\n<tr style=\"height: 22px;\">\n<th style=\"width: 18.4286%; height: 22px;\">Option<\/th>\n<th style=\"width: 81.4286%; height: 22px;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 44px;\">\n<td style=\"width: 18.4286%; height: 44px;\">label<\/td>\n<td style=\"width: 81.4286%; height: 44px;\">Specifies the display name of the field in the Push Defect dialogue\u00a0<em>(Required for custom fields)<\/em><\/td>\n<\/tr>\n<tr style=\"height: 67px;\">\n<td style=\"width: 18.4286%; height: 67px;\">list_type<\/td>\n<td style=\"width: 81.4286%; height: 67px;\">\u2018checkbox\u2019 (for True\/False values), \u2018user\u2019 (to populate a user list), or blank (e.g. \u2018list_type=\u2019) if not a checkbox or user field. (Required for custom fields if type is dropdown, multiselect, or date)<\/td>\n<\/tr>\n<tr style=\"height: 44px;\">\n<td style=\"width: 18.4286%; height: 44px;\">size<\/td>\n<td style=\"width: 81.4286%; height: 44px;\">Specifies whether the field is displayed as a compact field\u00a0<em>(compact)<\/em>\u00a0or uses the full width of the dialogue\u00a0<em>(full)<\/em><\/td>\n<\/tr>\n<tr style=\"height: 44px;\">\n<td style=\"width: 18.4286%; height: 44px;\">remember<\/td>\n<td style=\"width: 81.4286%; height: 44px;\">Specifies if previously selected values for this field should be remembered and restored the next time the Push Defect dialogue is opened<\/td>\n<\/tr>\n<tr style=\"height: 44px;\">\n<td style=\"width: 18.4286%; height: 44px;\">required<\/td>\n<td style=\"width: 81.4286%; height: 44px;\">Specifies if this field is mandatory or optional and whether users are required to enter a value for this field in the Push Defect dialogue<\/td>\n<\/tr>\n<tr style=\"height: 44px;\">\n<td style=\"width: 18.4286%; height: 44px;\">type<\/td>\n<td style=\"width: 81.4286%; height: 44px;\">Specifies the type of this field, please see section Custom fields below for a list of supported field types (Required for custom fields)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"et_pb_module et_pb_text et_pb_text_13  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3 id=\"customizations\" class=\"sectionedit4\">Custom fields<\/h3>\n<div class=\"level3\">\n<p>You can also use the above-mentioned approach to add custom fields to TestRail\u2019s Push Defect dialogue. To do this, simply add a line with your custom field to the [push.fields] section to add a field. Custom fields are designated by\u00a0<em>c_&lt;field_name&gt;.<\/em><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\">[push.fields]\n# ...\ndescription=on\nc_customer=on<\/pre>\n<div class=\"et_pb_module et_pb_text et_pb_text_4  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"level2\">\n<div class=\"et_pb_module et_pb_text et_pb_text_8  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"level2\">\n<div class=\"et_pb_module et_pb_text et_pb_text_11  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"et_pb_module et_pb_text et_pb_text_15  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>Then, add a [field.settings.c_&lt;field_name&gt;] section. This section is required so the plugin can push and\/or retrieve data from your tool.<\/p>\n<p>The following is an example custom field configuration:<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\">[field.settings.c_&lt;field_name&gt;]\nlabel=Customer\nsize=compact\ntype=dropdown\nrequired=true\nfield_name=c_Customer<\/pre>\n<div class=\"et_pb_module et_pb_text et_pb_text_4  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"level2\">\n<div class=\"et_pb_module et_pb_text et_pb_text_8  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"level2\">\n<div class=\"et_pb_module et_pb_text et_pb_text_11  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"et_pb_module et_pb_text et_pb_text_17  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>When setting\u00a0<strong>field_name=&lt;\u2026&gt;<\/strong>, this value should match the ElementName attribute of the custom field, as provided by the Rally API<\/p>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_18  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>The following field types are supported:<\/p>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 18.4286%;\">Field Type<\/th>\n<th style=\"width: 81.4286%;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 18.4286%;\">date<\/td>\n<td style=\"width: 81.4286%;\">A string field which accepts a YYYY-MM-DD or similarly structured date value. Formatting may depend on the integrated tool\u2019s requirements<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.4286%;\">dropdown<\/td>\n<td style=\"width: 81.4286%;\">A dropdown list that allows users to select one of the multiple options<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.4286%;\">multiselect<\/td>\n<td style=\"width: 81.4286%;\">Allows users to select multiple, pre-defined options<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.4286%;\">string<\/td>\n<td style=\"width: 81.4286%;\">A small free-text field for up to 250 characters<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.4286%;\">text<\/td>\n<td style=\"width: 81.4286%;\">A large free-text field without practical size limitations<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"Attachments\" class=\"sectionedit5\">Attachments<\/h2>\n<div class=\"level2\">\n<p>The Rally Defect Plugin supports submitting attachments to Rally as well. This field can be turned on and off, but cannot be customized. To submit one or more attachments to Rally, simply drag the attachment to the attachments or description areas of the push dialog or click on the area to choose an attachment from your file system.<\/p>\n<h2 id=\"RallyReferencePlugin\" class=\"sectionedit5\">Reference Plugin<\/h2>\n<p>Reference plugins can be used to retrieve additional information from IDs entered into the References field of TestRail entities, such as test cases, test runs, and milestones. The Reference Plugin is configured on the References tab of the integration settings in the same manner the Defect Plugin is configured.<\/p>\n<p>The plugin supports hovering over Reference IDs but does not support a Push dialog for the References field. It is also possible to customize the fields which appear via link hovering and add custom fields, as described above.<\/p>\n<p>If you have the Defect Plugin already configured for Rally, you can simply copy your [connection] and [hover.fields] sections from the Defect Plugin into the Reference plugin configuration. Alternatively, you can choose different fields to be displayed for References and Defects.<\/p>\n<h2 id=\"AdditionalCustomizations\" class=\"sectionedit5\">Additional Customizations<\/h2>\n<div class=\"level2\">\n<p>TestRail also supports custom defect plugins. If your team uses TestRail Server, it is possible to further customize the defect plugin (or build your own) to support additional field types or other data. Please see our <a href=\"\/server-guide\/customizations-and-extensions\/building-custom-plugin\/\" target=\"_blank\" rel=\"noopener\">Defect plugin documentation<\/a>\u00a0for additional information.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This topic explains how to integrate TestRail with Rally. There are currently four ways to integrate TestRail  [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":6734,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-19118","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/19118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/comments?post=19118"}],"version-history":[{"count":13,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/19118\/revisions"}],"predecessor-version":[{"id":24022,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/19118\/revisions\/24022"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/6734"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/media?parent=19118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}