actions-marketplace-validations/Jira Fields as PR Labels
Add labels to a pull request based on certain fields from Jira
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Token used to add labels to the PR. Can be passed in using {{ secrets.GITHUB_TOKEN }} | yes | — |
| jira-api-token | API Token used to access the Jira REST API. Must have read access to your Jira projects & issues. For details, see Atlassian's official documentation: https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/ | yes | — |
| jira-username | Username that can use the Jira API token. Must have read access to your Jira projects & issues. For details, see Atlassian's official documentation: https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/ | yes | — |
| jira-base-url | Your Jira subdomain. i.e.: https://your-domain.atlassian.net | yes | — |
| issue-key-location | Where in the PR to look for issue key. Values can be: `branch`, `title` or `both` | no | title |
| inject-jira-info-table | Flag indicating if the table with the basic ticket information should be added to the top of the PR description | no | true |
| sync-issue-type | Flag indicating if the "issue type" from Jira should be added as a PR label | no | false |
| sync-issue-priority | Flag indicating if the "priority" value from Jira should be added as a PR label | no | false |
| sync-issue-labels | Flag indicating if the "labels" from Jira should be added as a PR label | no | false |
| sync-issue-fix-versions | Flag indicating if the "fix versions" from Jira should be added as a PR label | no | false |
Outputs
| name | description |
|---|---|
| issue-key | The issue key that was found |
| issue-type | The Jira issue type for the corresponding Jira issue |
| issue-priority | The priority set in Jira for the corresponding Jira issue |
| issue-labels | The labels set in Jira for the corresponding Jira issue |
| issue-fix-versions | The fix versions on the corresponding Jira issue |