{"id":28872,"date":"2025-10-16T06:50:37","date_gmt":"2025-10-16T06:50:37","guid":{"rendered":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/?page_id=28872"},"modified":"2025-10-16T16:31:31","modified_gmt":"2025-10-16T07:31:31","slug":"assembla","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/integration-guide\/requirements-and-defects-integrations\/available-integrations\/assembla\/","title":{"rendered":"Integrate with Assembla"},"content":{"rendered":"<p>This topic explains how to integrate TestRail with Assembla. There are currently three ways to integrate TestRail with Assembla, namely:<\/p>\n<ul>\n<li>Using defect URLs to link test results to Assembla<\/li>\n<li>Using the defect plugin for Assembla to push and look up Assembla tickets<\/li>\n<li>Using reference URLs to link test cases to Assembla<\/li>\n<li>Using the reference plugin for Assembla to look up Assembla tickets in the References field of TestRail entities such as test cases, test runs, and milestones.<\/li>\n<\/ul>\n<p>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<h2 id=\"h_01J88KN2ETG8MY6YBXHRT1Y3RV\">Enhanced Assembla integration<\/h2>\n<p>TestRail provides an integration with Assembla which utilizes OAuth, allowing users to quickly connect their TestRail and Assembla instances without needing to configure API keys or enter additional credentials.<\/p>\n<h3 id=\"h_01J88KN2ET8AEWSMBQB3NR45Q2\">Connecting to Assembla<\/h3>\n<p>As a TestRail Administrator, you can connect to an Assembla instance in the Integration view of the Administration area. In this view, press the <strong>Configure Assembla<\/strong> button and proceed with connection dialog:<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/configure_assembla_integration.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/configure_assembla_integration.png\" alt=\"\" width=\"550\" height=\"711\" class=\"aligncenter size-full wp-image-9000\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/configure_assembla_integration.png 550w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/configure_assembla_integration-480x621.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 550px, 100vw\" \/><\/a><\/p>\n<p>With your Assembla Organization URL and Space entered in the dialog, you can press the Connect Account button and TestRail will complete the configuration for you. Alternatively, you can enter the API Key and API Secret.<\/p>\n<p>The <strong>Defect integration<\/strong> and <strong>Reference integration<\/strong>\u00a0options allow you to also automatically configure the Defect and Reference integrations for your instance.<\/p>\n<h3 id=\"h_01J88KN2ETXFTA1QVS9PME6EWS\">OAuth for users<\/h3>\n<p>With TestRail connected to Assembla, you can connect your TestRail account to Assembla using OAuth. In the <strong>My Settings<\/strong> area of your user account, open the <strong>OAuth tab<\/strong>:<a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Integrate-with-assembla-ss2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Integrate-with-assembla-ss2.png\" alt=\"\" width=\"1032\" height=\"381\" class=\"aligncenter size-full wp-image-28902\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Integrate-with-assembla-ss2.png 1032w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Integrate-with-assembla-ss2-980x362.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Integrate-with-assembla-ss2-480x177.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1032px, 100vw\" \/><\/a><\/p>\n<p>Pressing the <strong>Connect Account<\/strong> button will retrieve an access token from Assembla and save it to your TestRail account. Alternatively, you can manually enter a <em>User Access Token<\/em>\u00a0on the <strong>Settings <\/strong>tab.<\/p>\n<p>You can also disconnect your user account at any time.<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Integrate-with-assembla-ss3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Integrate-with-assembla-ss3.png\" alt=\"\" width=\"1034\" height=\"383\" class=\"aligncenter size-full wp-image-28903\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Integrate-with-assembla-ss3.png 1034w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Integrate-with-assembla-ss3-980x363.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Integrate-with-assembla-ss3-480x178.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1034px, 100vw\" \/><\/a><\/p>\n<h3 id=\"h_01J88KN2ETAD5DN5QM064S2JJE\">API key and secret for users<\/h3>\n<p>With TestRail connected to Assembla using an API Key and Secret, you will need to create an API key and secret in your Assembla account. You can do this under Account &gt; API Applications &amp; Session. Please ensure to check the boxes for API access and Repository access.<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_api_keys.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_api_keys.png\" alt=\"\" width=\"1732\" height=\"1124\" class=\"aligncenter size-full wp-image-8970\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_api_keys.png 1732w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_api_keys-1280x831.png 1280w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_api_keys-980x636.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_api_keys-480x312.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1732px, 100vw\" \/><\/a><\/p>\n<p>Once you save, the API key and secret will be available. In TestRail, you should store your key and secret in the corresponding <a href=\"\/user-variables\/\" target=\"_blank\" rel=\"noopener\">User Variables<\/a> configured for the integration.<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_key_secret.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_key_secret.png\" alt=\"\" width=\"2320\" height=\"774\" class=\"aligncenter size-full wp-image-8971\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_key_secret.png 2320w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_key_secret-1280x427.png 1280w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_key_secret-980x327.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/assembla_key_secret-480x160.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 2320px, 100vw\" \/><\/a><\/p>\n<h2 id=\"h_01J88KN2ETFWBCJW7CQZQHKRN7\">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 Assembla instance. There are two types of URLs: View URLs and Add URLs.<\/p>\n<p>The <strong>Defect View URL<\/strong> is used to build a link to Assembla based on the Defect ID, so you can simply click on an ID to open the issue directly in Assembla.<\/p>\n<p>The <strong>Defect Add URL<\/strong> is used to create a link to the issue creation screen inside Assembla. 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 <a href=\"\/configuring-defect\/#i-9\" target=\"_blank\" rel=\"noopener\">TestRail\u2019s Push Defect From Anywhere<\/a> feature. This link allows you to jump to Assembla\u2019s New Issue form to report a new bug.<\/p>\n<p>If you use the <strong>Add<\/strong>\u00a0link, you can copy the ID of your new Assembla issue and enter it into any Defects or References field inside TestRail.<\/p>\n<p>You can configure Assembla\u2019s URLs in TestRail globally under Administration &gt; Integration or on a per-project basis within any project\u2019s settings. Use the following example URLs to configure the addresses:<\/p>\n<pre><code>Assembla installation\nDefect View Url: https:\/\/app.assembla.com\/spaces\/&lt;space&gt;\/tickets\/%id%\nDefect Add Url:  https:\/\/app.assembla.com\/spaces\/&lt;space&gt;\/tickets\/new?from=tickets<\/code><\/pre>\n<p>Please make sure to replace <code class=\"inline-code\">&lt;space&gt;<\/code> with the actual name of the portfolio and space in Assembla you want to integrate with.<\/p>\n<p>If your Assembla instance is located in the EU, your URLs should begin with https:\/\/eu-app.assembla.com\/\u2026<\/p>\n<h2 id=\"h_01J88KN2EV6MQPDF7FV319WKD7\">Reference URLs<\/h2>\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 <strong>Reference View URL<\/strong> is configured in the same manner as described above and allows TestRail to create a direct link to a Assembla based on an ID entered into a References field.<\/p>\n<p>The <strong>Reference Add URL<\/strong> is also configured in the same way as the Defect Add URL. Once configured, an <strong>Add<\/strong> link will appear next to each References field in your instance or project. If you use the\u00a0<strong>Add<\/strong> link, you can copy the ID of your new Assembla 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<h2 id=\"h_01J88KN2EVPABWJKE7H1VTRX0V\">\u200bDefect plugins<\/h2>\n<p>Defect plugins can be used to implement a tight bug tracker integration and TestRail comes with a ready-to-use Assembla defect plugin. To configure the defect plugin, select <strong>Admin &gt; Integration<\/strong> and select Assembla in the <strong>Defect Plugin<\/strong> dropdown list. The next step is to configure all the necessary connection settings. Project-specific plugins and configuration settings can optionally be specified under <strong>Admin &gt; Projects<\/strong>.<br \/>\nPlease make sure to use your workspace ID and not the workspace name. The ID can be found found in the URL bar when logged into your Assembla instance.<\/p>\n<p>When the defect plugin has been configured, a new <strong>Push<\/strong> link is shown next to the <strong>Defects<\/strong> field in the <strong>Add Test Result<\/strong> dialog. Clicking the link will open a popup dialog that enables you to push a bug report to Assembla without leaving TestRail.<\/p>\n<p>Once the test result is added, hovering the mouse cursor over a <strong>defect ID<\/strong> will open a window with useful information and status details about the defect in Assembla.<\/p>\n<p>When the defect plugin has been configured, a new <strong>Push<\/strong> link is shown next to the <strong>Defects<\/strong> field in the <strong>Add Test Result<\/strong> dialog. Clicking the link will open a popup dialog that enables you to push a bug report to Assembla without leaving TestRail.<\/p>\n<h2 id=\"h_01J88KN2EVVEK3FNBQSGCEMF5C\">Customizations<\/h2>\n<p>The Assembla defect plugin was built to work with a standard Assembla 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 Assembla.<\/p>\n<p>The Assembla 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<pre><code>[push.field.description]\nlabel=Detailed Description\nrequired=true<\/code><\/pre>\n<p>Please see below for full list and explanation of the available field options:<\/p>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 17.4286%;\">Option<\/th>\n<th style=\"width: 82.4286%;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 17.4286%;\">label<\/td>\n<td style=\"width: 82.4286%;\">Specifies the display name of the field in the Push Defect dialogue\u00a0<em>(Required for custom fields)<\/em><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 17.4286%;\">size<\/td>\n<td style=\"width: 82.4286%;\">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>\n<td style=\"width: 17.4286%;\">remember<\/td>\n<td style=\"width: 82.4286%;\">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>\n<td style=\"width: 17.4286%;\">required<\/td>\n<td style=\"width: 82.4286%;\">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>\n<td style=\"width: 17.4286%;\">type<\/td>\n<td style=\"width: 82.4286%;\">Specifies the type of this field, please see section Custom fields below for a list of supported field types\u00a0<em>(Required for custom fields)<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"h_01J88KN2EVM9YA5H0B85CRGXYY\">Custom fields<\/h3>\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 as below:<\/p>\n<pre><code>[push.fields]\n...\ndescription=on\ncustomfield_11002=on<\/code><\/pre>\n<p>Custom fields are designated by customfield_. The ID value for a custom field can be obtained through the Assembla API, using your browser to inspect a custom field\u2019s value within a ticket, or in the URL of a custom field\u2019s edit screen.<\/p>\n<p>Then, add a [field.settings.customfield_] section. This section is required so the plugin can push and\/or retrieve data from your tool. The following is an example:<\/p>\n<pre><code>[field.settings.customfield_11002]\nlabel=Customer\nsize=compact\ntype=dropdown\nrequired=true<\/code><\/pre>\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: 17.7143%;\">Field Type<\/th>\n<th style=\"width: 82.1429%;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 17.7143%;\">dropdown<\/td>\n<td style=\"width: 82.1429%;\">A dropdown list that allows users to select one of the multiple options<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 17.7143%;\">multiselect<\/td>\n<td style=\"width: 82.1429%;\">Allows users to select multiple, pre-defined options<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 17.7143%;\">string<\/td>\n<td style=\"width: 82.1429%;\">A small free-text field for up to 250 characters<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 17.7143%;\">text<\/td>\n<td style=\"width: 82.1429%;\">A large free-text field without practical size limitations<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"h_01J88KN2EVFFXCV4P17C9J59R2\">Attachments<\/h2>\n<p>The Assembla Defect Plugin supports submitting attachments to Assembla as well. This field can be turned on and off, but cannot be customized. To submit one or more attachments to Assembla, 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=\"h_01J88KN2EVMVBS7BDMFXPD8F3V\">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 Assembla, 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=\"h_01J88KN2EVSXPTSE3VEJ4ETTDV\">Additional customizations<\/h2>\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\"> Custom Plugins documentation <\/a>for additional information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This topic explains how to integrate TestRail with Assembla. There are currently three ways to integrate TestR [&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-28872","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/28872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/comments?post=28872"}],"version-history":[{"count":5,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/28872\/revisions"}],"predecessor-version":[{"id":28904,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/28872\/revisions\/28904"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/6734"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/media?parent=28872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}