as described in
https://atlassianps.org/docs/JiraPS/commands/Invoke-JiraIssueTransition/ i can call a transition to close an issue. Unfortunately I did not manage to set the resolution when doing this.
if I query other closed Issues, resolution is given in German translation as "Duplikat"
According example 4 of documentation I would expect to work like this:
$transitionFields = @{'Resolution' = 'Duplikat'}
Invoke-JiraIssueTransition -issue 'MJOBS-27030' -Transition 601 -Fields $transitionFields
but tried with resolution name in english, too
$transitionFields = @{'Resolution' = 'duplicate'}
But always returning error message:
Invoke-JiraMethod :
resolution
----------
Specify the Resolution (id or name) in the string format
In WindowsPowerShell\Modules\jiraps\2.14.7\JiraPS.psm1:3204 Zeichen:9
+ Invoke-JiraMethod @parameter
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (:) [Invoke-JiraMethod], RuntimeException
+ FullyQualifiedErrorId : InvalidResponse.Status400,Invoke-JiraMethod