To help streamline your workflow, you can use the REST API to add autolinks to external resources like JIRA issues and Zendesk tickets. For more information, see "Configuring autolinks to reference external resources."
Note
This section can be applied to repos/<file>.yml or suborgs/<file>.yml. It will most commonly appear in the individual repos though.
# These settings are synced to GitHub by https://github.com/FICO-1ES/1es-safe-settings
variables:
- name: MY_AWESOME_VAR
value: '845705'
- name: my_lowercase_var
value: I have spacesTip
GitHub's API documentation defines these inputs and types:
|
Either true to enable issues for this repository or Default: |
autolinks:
- key_prefix: JIRA-
url_template: https://jira.example.com/browse/JIRA-<num>
... |
|
Either true to enable issues for this repository or Default: |
autolinks:
- key_prefix: JIRA-
url_template: https://jira.example.com/browse/JIRA-<num>
... |
|
Whether this autolink reference matches alphanumeric characters. If Default: |
autolinks:
- key_prefix: JIRA-
url_template: https://jira.examole.com/browse/JIRA-<num>
is_alphanumeric: false
... |