Index: Leahi/Jira/Jira_Create_Story.sh =================================================================== diff -u -r968c892bbd1eb259b789b175fbc9036e10db8758 -rcdf92e4d93c7e74702583b46fff901b51f441a95 --- Leahi/Jira/Jira_Create_Story.sh (.../Jira_Create_Story.sh) (revision 968c892bbd1eb259b789b175fbc9036e10db8758) +++ Leahi/Jira/Jira_Create_Story.sh (.../Jira_Create_Story.sh) (revision cdf92e4d93c7e74702583b46fff901b51f441a95) @@ -49,7 +49,6 @@ "11: BLD - Develop Build - version & release notes" "12: SCR - Code Review" "13: BLD - Staging Build - version & release notes" - "14: SUT - Software Unit Tests - Qt Test" ) SW_SUBTASK_LIST_QnR=( "14: SUT - Software Unit Tests - Qt Test" @@ -330,7 +329,7 @@ -u "$JIRA_USER:$JIRA_API_TOKEN" \ -H "Content-Type: application/json" \ "$JIRA_BASE_URL/rest/api/3/user/search?query=$1" \ - | jq -r '.[0] | "\(.accountId) - \(.emailAddress) - \(.displayName) - \(.active)"' + | jq -r '.[] | "\(.accountId) - \(.emailAddress) - \(.displayName) - \(.active)"' )" local RESULT=$? @@ -345,7 +344,7 @@ -u "$JIRA_USER:$JIRA_API_TOKEN" \ -H "Content-Type: application/json" \ "$JIRA_BASE_URL/rest/api/3/user/search?query=$1" \ - | jq -r '.[0] | "\(.accountId)"' + | jq -r '.[] | "\(.accountId)"' )" local RESULT=$?