diff --git a/.github/actions/create-jira-issues-for-community-activities/Add-JiraIssue.ps1 b/.github/actions/create-jira-issues-for-community-activities/Add-JiraIssue.ps1 index 2c8ee3b41..9c693bfa6 100644 --- a/.github/actions/create-jira-issues-for-community-activities/Add-JiraIssue.ps1 +++ b/.github/actions/create-jira-issues-for-community-activities/Add-JiraIssue.ps1 @@ -112,4 +112,5 @@ function GetIssueUrl { $issueKey = CreateIssue AddLink $issueKey +Set-GitHubOutput 'issue-key' $issueKey Set-GitHubOutput 'issue-url' (GetIssueUrl $issueKey) diff --git a/.github/actions/create-jira-issues-for-community-activities/action.yml b/.github/actions/create-jira-issues-for-community-activities/action.yml index 315aa6c4e..571f7d3e5 100644 --- a/.github/actions/create-jira-issues-for-community-activities/action.yml +++ b/.github/actions/create-jira-issues-for-community-activities/action.yml @@ -88,6 +88,6 @@ runs: actions: "update-issue" token: ${{ env.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} - title: ${{ github.event.issue.title }} (${{ steps.create-issue.outputs.issue }}) + title: ${{ github.event.issue.title }} (${{ steps.create-issue.outputs.issue-key }}) body: "${{ github.event.issue.body }}\n\n[Jira issue](${{ steps.create-issue.outputs.issue-url }})" update-mode: "replace"