Not possible to make transition with REST
Hi Fidel,
We are using Validation Only if the following boolean expression is true: !isInGroup(%{Current user}, "jira-administrators") IMPLIES trim(%{Transition's comment}) != "" Message to show when validation fails: "A Comment must be provided during the transition.".
It works as expected if you use jira wirh web browser (user can make transition with provided comment).
On the other hand it is not possible to make transition with provided comment by REST if you are not in group jira-administrator. What we are trying to do with REST: METOD: POST URL: https://name.xxx/rest/api/2/issue/XXX-296/transitions?expand=transitions.fields Body: {"transition":{"id":"3"}, "update":{"comment": [{"add":{"body":"Testing comment"}}] } }
Result: { "errorMessages": [ "A Comment must be provided during the transition." ], "errors": {} }
Best regards, Florjan Vidic
Comments (4)
-
repo owner -
reporter Yes, it works :-)
Thank you for fast response, Florjan
-
repo owner This issue has relation with Issue
#342 -
repo owner - changed status to resolved
Resolved in just released version 2.2.15.
- Log in to comment
Hi Florjan,
The bug should have been fixed in version 2.2.15_beta_1. Can you please confirm it?
Thanks.