Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

JIRA REST customization - push test case URL in custom field


I’m trying to customise provided JIRA Rest plugin php file to push test URL to JIRA. I have found that using “$test->url” property I can print out test url.

What I need to do now is to prefill this text into the custom field in “Push Defect” dialogue, that would be submitted to JIRA.



Thanks for your posting. Since TestRail 3.1, you can use the new template system for the defect plugins to customize the default description/comment for a new issue:

The template can be customized in the administration area where you configure the defect integration (e.g. Administration > Integration or on the Integration tab of the respective project under Administration > Projects).

That said, the test URL should already be included in the default description (unless you’ve customized the defect plugin).