-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Space Administration - Workflows and statuses
-
Minor
Issue Summary
(recopy from: https://ecosystem.atlassian.net/browse/ACJIRA-2646)
When the group name is changed to testgroup (no capital letters), the request is successful.
Group with name testGroup (with capital letter) exists on the cloud instance.
I cannot find in https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows/#api-rest-api-3-workflow-post documented that the group names should be passed as lowercase.
Steps to Reproduce
Trying to execute POST request for /rest/api//3/workflow:
{"name":"Copy of Software Simplified Workflow for Project TEST","description":"Generated by JIRA Software version 9.0.0. This workflow is managed internally by Jira Software. Do not manually modify this workflow.","transitions":[{"name":"To Do","description":"","from":[],"to":"12305","type":"global","rules":{"validators":[],"postFunctions":[{"type":"UpdateIssueFieldFunction","configuration":{"fieldId":"resolution","fieldValue":""}},{"type":"FireIssueEventFunction","configuration":{"event":{"id":"13"}}}]},"properties":{"jira.i18n.title":"gh.workflow.preset.todo"}},{"name":"Create","description":"","from":[],"to":"12305","type":"initial","rules":{"validators":[{"type":"PermissionValidator","configuration":{"permissionKey":"CREATE_ISSUES"}}],"postFunctions":[{"type":"FireIssueEventFunction","configuration":{"event":{"id":"1"}}}]},"properties":{"jira.i18n.title":"common.forms.create"}},{"name":"test","description":"","from":["12305"],"to":"3","type":"directed","rules":{"conditions":{"type":"UserInGroupCondition","configuration":{"group":"testGroup"}},"validators":[],"postFunctions":[{"type":"FireIssueEventFunction","configuration":{"event":{"id":"13"}}}]},"properties":{}},{"name":"Done","description":"","from":[],"to":"12306","type":"global","rules":{"validators":[],"postFunctions":[{"type":"UpdateIssueFieldFunction","configuration":{"fieldId":"resolution","fieldValue":"13983"}},{"type":"FireIssueEventFunction","configuration":{"event":{"id":"13"}}}]},"properties":{"jira.i18n.title":"gh.workflow.preset.done"}},{"name":"In Progress","description":"","from":[],"to":"3","type":"global","rules":{"validators":[],"postFunctions":[{"type":"UpdateIssueFieldFunction","configuration":{"fieldId":"resolution","fieldValue":""}},{"type":"FireIssueEventFunction","configuration":{"event":{"id":"13"}}}]},"properties":{"jira.i18n.title":"gh.workflow.preset.inprogress"}}],"statuses":[{"id":"12305","properties":{}},{"id":"3","properties":{}},{"id":"12306","properties":{}}]}
Expected Results
The request is successful.
Actual Results
Returns:
{
"errorMessages": [
"Groups [testGroup] not found."
],
"errors": {}
}
Workaround
No workaround.