Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/reusable-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ jobs:
uses: ./.defaults/
env:
GITHUB_ISSUE_URL: ${{ fromJSON(needs.route.outputs.event_payload).issue.html_url }}
FULLSEND_WORK_ITEM_URL: ${{ fromJSON(needs.route.outputs.event_payload).issue.html_url }}
REPO_FULL_NAME: ${{ github.repository }}
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ vars.OTEL_EXPORTER_OTLP_ENDPOINT }}
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: ${{ vars.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT }}
Expand Down Expand Up @@ -802,6 +803,7 @@ jobs:
uses: ./.defaults/
env:
GITHUB_ISSUE_URL: ${{ fromJSON(needs.route.outputs.event_payload).issue.html_url }}
FULLSEND_WORK_ITEM_URL: ${{ fromJSON(needs.route.outputs.event_payload).issue.html_url }}
ISSUE_NUMBER: ${{ fromJSON(needs.route.outputs.event_payload).issue.number }}
# Reaches the harness pre-script inside fullsend run, which reads it
# for its --force override of the existing-PR check (pre-script
Expand Down Expand Up @@ -929,6 +931,7 @@ jobs:
uses: ./.defaults/
env:
GITHUB_ISSUE_URL: ${{ fromJSON(needs.route.outputs.event_payload).issue.html_url }}
FULLSEND_WORK_ITEM_URL: ${{ fromJSON(needs.route.outputs.event_payload).pull_request.html_url || fromJSON(needs.route.outputs.event_payload).issue.html_url }}
GITHUB_PR_URL: ${{ fromJSON(needs.route.outputs.event_payload).pull_request.html_url || fromJSON(needs.route.outputs.event_payload).issue.html_url }}
REPO_FULL_NAME: ${{ github.repository }}
PR_NUMBER: ${{ fromJSON(needs.route.outputs.event_payload).pull_request.number || fromJSON(needs.route.outputs.event_payload).issue.number }}
Expand Down Expand Up @@ -1400,6 +1403,7 @@ jobs:
uses: ./.defaults/
env:
GITHUB_ISSUE_URL: ${{ fromJSON(needs.route.outputs.event_payload).issue.html_url }}
FULLSEND_WORK_ITEM_URL: ${{ fromJSON(needs.route.outputs.event_payload).issue.html_url }}
REPO_FULL_NAME: ${{ github.repository }}
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ vars.OTEL_EXPORTER_OTLP_ENDPOINT }}
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: ${{ vars.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT }}
Expand Down Expand Up @@ -1726,6 +1730,7 @@ jobs:
uses: ./.defaults/
env:
GITHUB_ISSUE_URL: ${{ steps.dispatch-env.outputs.issue_url }}
FULLSEND_WORK_ITEM_URL: ${{ steps.dispatch-env.outputs.issue_url }}
REPO_FULL_NAME: ${{ matrix.source_repo }}
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ vars.OTEL_EXPORTER_OTLP_ENDPOINT }}
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: ${{ vars.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT }}
Expand Down
6 changes: 4 additions & 2 deletions docs/normative/normalized-event/v1/jira-poll-adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ When `source.system` is `jira`, projection supplements the GitHub-shaped
| `GITHUB_ISSUE_URL` | Omit or empty — not a GitHub issue |
| `status-number` | `entity.id` (numeric Jira id) |

Harnesses and pre-scripts that require forge URLs MUST use `FULLSEND_WORK_ITEM_*`
for Jira-sourced runs.
Harnesses and pre-scripts that require forge-agnostic work item URLs SHOULD use
`FULLSEND_WORK_ITEM_*` rather than forge-specific variables like
`GITHUB_ISSUE_URL`. The dispatch workflow sets `FULLSEND_WORK_ITEM_URL` to
`entity.url` for both GitHub and Jira events.

## Example

Expand Down
Loading