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

How get custom User Variable in php file?


For integration with Redmine, I added User Variables (%redmine_user% and %redmine_password%).
And using them in connection settings as I read here
I use UI script with POST request to my php file, where I will get some info from Redmine and will show it on the form Push Defect.
But not clear for me how get my variables in php file?

Best Regards,


Hi Maria,

Thanks for your posting. It’s not possible to get these values in a regular PHP script that runs outside of TestRail and the defect/user variables are only used with the defect plugins.



Hello Tobias,
Thanks for the reply. It is a pity that it can not be done.