Skip to content

Commit

Permalink
Fix parsing jira issue numbers to json #6
Browse files Browse the repository at this point in the history
  • Loading branch information
flenny authored Nov 6, 2023
2 parents 3dc5250 + b1ca486 commit 08dff5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:

- name: Create json and invoke webhook
run: |
$json = ConvertTo-Json @{issues = @("${{ env.RELATED_JIRA_ISSUES }}"); data = @{version = "${{ inputs.build-version }}"; projectName = "${{ inputs.jira-project-key }}"}}
$json = ConvertTo-Json @{issues = @(${{ env.RELATED_JIRA_ISSUES }}); data = @{version = "${{ inputs.build-version }}"; projectName = "${{ inputs.jira-project-key }}"}}
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-RestMethod ${{ inputs.jira-automation-webhook }} -Method Post -Body $json -ContentType "application/json"
shell: pwsh

0 comments on commit 08dff5a

Please sign in to comment.