Skip to content

Commit 8dcf547

Browse files
authored
chore: Updates JIRA query to include multiple issue types for unresolved issues (#3573)
* chore: Updates JIRA query to include multiple issue types for unresolved issues * fix: Update JIRA query to include multiple issue types for declined issues
1 parent 431404f commit 8dcf547

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/issues.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
ISSUE_NUMBER=${{ github.event.issue.number }}
8080
JIRA_API_TOKEN=${{ secrets.JIRA_API_TOKEN }}
8181
82-
JIRA_QUERY="project = CLOUDP AND issuetype = Story AND resolution = Declined AND text ~ \"TF HELP: GitHub Issue n. $ISSUE_NUMBER\""
82+
JIRA_QUERY="project = CLOUDP AND issuetype in (Story,Bug,Investigation) AND resolution = Declined AND text ~ \"TF HELP: GitHub Issue n. $ISSUE_NUMBER\""
8383
8484
# URL encode the query
8585
JIRA_URL=$(echo "$JIRA_QUERY" | jq -s -R -r @uri)
@@ -129,7 +129,7 @@
129129
ISSUE_NUMBER=${{ github.event.issue.number }}
130130
JIRA_API_TOKEN=${{ secrets.JIRA_API_TOKEN }}
131131
132-
JIRA_QUERY="project = CLOUDP AND issuetype = Story AND resolution = Unresolved AND text ~ \"TF HELP: GitHub Issue n. $ISSUE_NUMBER\""
132+
JIRA_QUERY="project = CLOUDP AND issuetype in (Story,Bug,Investigation) AND resolution = Unresolved AND text ~ \"TF HELP: GitHub Issue n. $ISSUE_NUMBER\""
133133
134134
# URL encode the query
135135
JIRA_URL=$(echo "$JIRA_QUERY" | jq -s -R -r @uri)

0 commit comments

Comments
 (0)