From 4aead8d6bd98c18bc2c4f215ffeb5d27c62efa6c Mon Sep 17 00:00:00 2001 From: Bianca Lisle Date: Wed, 23 Jul 2025 15:01:30 +0100 Subject: [PATCH 1/2] fix: remove comment --- .github/workflows/jira-issue.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/jira-issue.yml b/.github/workflows/jira-issue.yml index 8e02b396..dc9337ca 100644 --- a/.github/workflows/jira-issue.yml +++ b/.github/workflows/jira-issue.yml @@ -32,7 +32,6 @@ jobs: extra-data: | { "fields": { - # Assigned teams custom field. IDs includes the two owning teams. "customfield_12751": [ { "id": "22223" From cca9db25264f49290958e380e38894e47d17b9cd Mon Sep 17 00:00:00 2001 From: Bianca Lisle Date: Wed, 23 Jul 2025 15:02:45 +0100 Subject: [PATCH 2/2] comment only if succesds --- .github/workflows/jira-issue.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/jira-issue.yml b/.github/workflows/jira-issue.yml index dc9337ca..41f5e1c5 100644 --- a/.github/workflows/jira-issue.yml +++ b/.github/workflows/jira-issue.yml @@ -47,6 +47,7 @@ jobs: echo "JIRA action result: ${{ steps.create.outputs.issue-key || 'FAILED' }}" - name: Add comment + if: steps.create.outputs.issue-key uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 with: issue-number: ${{ github.event.issue.number }}