issues
search
lesstif
/
php-jira-rest-client
PHP classes interact Jira with the REST API.
Other
510
stars
263
forks
source link
Issue #390 notify users update labels
#391
Closed
phill54
closed
2 years ago
phill54
commented
3 years ago
this is my fix for issue #390
/* orignal code was
$queryParam = '?'.http_build_query(['notifyUsers' => $notifyUsers]);
which results in
/issue/ISSUE-1234?notifyUsers=0 or
/issue/ISSUE-1234?notifyUsers=1
this has two issues:
1
the rest-api is expecting a string. any other value than
/issue/ISSUE-1234?notifyUsers=false or
/issue/ISSUE-1234?notifyUsers=true
will cause a 403 response with the errorMessage
"To discard the user notification either admin or project admin permissions are required."
but only if you dont have admin or project admin permissions. (!)
2
this is default
/issue/ISSUE-1234?notifyUsers=true
so there's no need to add this */
this is my fix for issue #390
/* orignal code was
1
2