{"id":28891,"date":"2025-10-16T07:17:52","date_gmt":"2025-10-16T07:17:52","guid":{"rendered":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/?page_id=28891"},"modified":"2025-10-16T16:24:16","modified_gmt":"2025-10-16T07:24:16","slug":"axosoft-rest","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/integration-guide\/requirements-and-defects-integrations\/available-integrations\/axosoft-rest\/","title":{"rendered":"Integrate with Axosoft REST API"},"content":{"rendered":"<p>Defect plugins can be used to implement a deeper bug tracker integration and TestRail comes with a ready-to-use Axosoft defect plugin.<\/p>\n<div class=\"callout callout--info\">\n<p>The Axosoft defect plugin discussed in this article uses Axosoft\u2019s REST API, which we recommend for Axosoft v13 or later (including OnTime Now). If you are using (Axosoft) OnTime v12 or earlier, please use our <a href=\"\/axosoft-soap\/\" target=\"_blank\" rel=\"noopener\">Axosoft OnTime SOAP defect plugin<\/a> instead.<\/p>\n<\/div>\n<p>To configure the defect plugin, select <strong>Administration &gt; Integration<\/strong>; then select <em>Axosoft_v17_REST<\/em> from the <strong>Defect Plugin<\/strong> dropdown list.<\/p>\n<p>The next step is to configure all the necessary connection settings in the Configuration field. Project-specific plugins and configuration settings can optionally be specified under <strong>Administration &gt; Projects<\/strong>.<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/ontime-push.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/ontime-push.png\" alt=\"\" width=\"600\" height=\"311\" class=\"aligncenter wp-image-9080 size-full\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/ontime-push.png 600w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/ontime-push-480x249.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 600px, 100vw\" \/><\/a><\/p>\n<p>You might need to activate the API in Axosoft first. To do this:<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>In Axosoft, select <strong>Tools &gt; System Settings &gt; Axosoft API Settings<\/strong><\/li>\n<li>Enable the API on that page<\/li>\n<li>Generate API keys on that page<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>The required <strong>client ID<\/strong> as well as the <strong>client secret<\/strong> needed to configure the integration are also listed on that page.<\/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 Axosoft without leaving TestRail.<\/p>\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 Axosoft.<\/p>\n<div class=\"callout callout--warning\">\n<p>Axosoft no longer supports the creation of defects since all Work Items now correspond to Features on their platform.<\/p>\n<p>If you still wish to use the plugin to push features into Axosoft, we recommend implementing an additonal workflow step called \u201cbug\u201d, \u201cdefect\u201d or whichever naming convention works for your team. The workflow step should have the Work Item Type set to \u201cBug (Issue)\u201d and, under the Allowed Next Steps settings for the new Workflow Step, check all the allowed Next Steps for bugs\/defects (or create new ones as desired).<\/p>\n<p>The next time you attempt to push a Work Item to Axosoft, remember to set the Workflow Step dropdown field to the step created above. Implementing this workaround means you can continue to use the defect plugin to create Work Items of type Bug (Issue) in Axosoft.<\/p>\n<\/div>\n<div class=\"callout callout--info\">\n<p class=\"callout__title callout__icon\"><em class=\"fas fa-info-circle\">\u00a0<\/em><\/p>\n<p>Plugin customizations require the \u2018Axosoft_v17_REST\u2019 Defect and Reference plugin, available with TestRail 6.5 and later.<\/p>\n<\/div>\n<h2>Customizations<\/h2>\n<p>The Axosoft defect plugin was built to work with a standard Axosoft 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 Axosoft.<\/p>\n<p>The Axosoft 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: 19.1429%;\">Option<\/th>\n<th style=\"width: 80.7143%;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 19.1429%;\">label<\/td>\n<td style=\"width: 80.7143%;\">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: 19.1429%;\">size<\/td>\n<td style=\"width: 80.7143%;\">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: 19.1429%;\">remember<\/td>\n<td style=\"width: 80.7143%;\">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: 19.1429%;\">required<\/td>\n<td style=\"width: 80.7143%;\">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: 19.1429%;\">type<\/td>\n<td style=\"width: 80.7143%;\">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>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. Custom fields are designated by <strong>customfield_&lt;id&gt;<\/strong>.<\/p>\n<pre><code>[push.fields]\n...\ndescription=on\ncustomfield_11002=on<\/code><\/pre>\n<p>Then, add a [field.settings.custom_&lt;id&gt;] section. This section is required so the plugin can push and\/or retrieve data from your tool.<\/p>\n<p>Custom Field IDs can be obtained through the <a href=\"http:\/\/developer.axosoft.com\/api.html\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Axosoft API<\/strong><\/a>.<\/p>\n<p>The following is an example custom field configuration:<\/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: 18.8571%;\">Field Type<\/th>\n<th style=\"width: 81%;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 18.8571%;\">bool<\/td>\n<td style=\"width: 81%;\">A Yes\/No dropdown menu for True\/False, Yes\/No, or similar binary values<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.8571%;\">date<\/td>\n<td style=\"width: 81%;\">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.8571%;\">dropdown<\/td>\n<td style=\"width: 81%;\">A dropdown list that allows users to select one of the multiple options<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.8571%;\">multiselect<\/td>\n<td style=\"width: 81%;\">Allows users to select multiple, pre-defined options<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.8571%;\">string<\/td>\n<td style=\"width: 81%;\">A small free-text field for up to 250 characters<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.8571%;\">text<\/td>\n<td style=\"width: 81%;\">A large free-text field without practical size limitations<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Attachments<\/h2>\n<p>The Axosoft Defect Plugin supports submitting attachments to Axosoft as well. This field can be turned on and off, but cannot be customized. To submit one or more attachments to Axosoft, 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>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 Axosoft, 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>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>Defect plugins can be used to implement a deeper bug tracker integration and TestRail comes with a ready-to-us [&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-28891","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/28891","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=28891"}],"version-history":[{"count":7,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/28891\/revisions"}],"predecessor-version":[{"id":28898,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/28891\/revisions\/28898"}],"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=28891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}