Skip to content

use setUntranslatedName gives error while setTransitionName works but not with locales #380

@mrooseboom

Description

@mrooseboom

I updated to the lastest version and used setTransitionName but that gives a lot of issues when the user changes its locale. The doc mentions to use setUntranslatedName in that case but once I use that method I get this error:

Error Message : {"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}PHP Fatal error: Uncaught Dotenv\Exception\ValidationException: One or more environment variables failed assertions: JIRA_HOST is missing, JIRA_USER is missing, JIRA_PASS is missing. in /var/www/app/vendor/vlucas/phpdotenv/src/Validator.php:175
Stack trace:
#0 /var/www/app/vendor/vlucas/phpdotenv/src/Validator.php(57): Dotenv\Validator->assert(Object(Closure), 'is missing')
#1 /var/www/app/vendor/vlucas/phpdotenv/src/Dotenv.php(253): Dotenv\Validator->required()
#2 /var/www/app/vendor/lesstif/php-jira-rest-client/src/Configuration/DotEnvConfiguration.php(144): Dotenv\Dotenv->required(Array)
#3 /var/www/app/vendor/lesstif/php-jira-rest-client/src/Configuration/DotEnvConfiguration.php(19): JiraRestApi\Configuration\DotEnvConfiguration->loadDotEnv('../')
#4 /var/www/app/vendor/lesstif/php-jira-rest-client/src/JiraClient.php(87): JiraRestApi\Configuration\DotEnvConfiguration->__construct('../')
#5 /var/www/app/vendor/lesstif/php-jira-rest-client/src/Issue/IssueService.php(1231): JiraRestApi\JiraClient->__construct()
#6 /var/www/a in /var/www/app/vendor/vlucas/phpdotenv/src/Validator.php on line 175

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions