This project is forked from https://github.com/atlassian/gajira-login
Please use the offical project if possible, unless you are having same troubles:
- With Jira Server and API V2
- Using Personal Access Tokens (PAT)
- This is a
Github action
project - Store Jira login credentials for later user by other Github Jira actions
- Use Personal Access Tokens (PAT) instead of password or API token
- Not support Jira cloud now, please try offical project
An example workflow to create a Jira issue for each //TODO
in code:
on: push
name: Jira Example
jobs:
build:
runs-on: ubuntu-latest
name: Jira Example
steps:
- name: Jira connect
uses: govcms-extras/github-action-jira-connect@main
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
JIRA_BASE_URL
- URL of Jira instance. Example:https://<yourdomain>.atlassian.net
JIRA_API_TOKEN
- Access Token for Authorization. Example:HXe8DGg1iJd2AopzyxkFB7F2
(How To)JIRA_USER_EMAIL
- email of the user for which Access Token was created for . Example:human@example.com
- None
email
- user emailtoken
- api tokenbaseUrl
- URL for Jira instance
endpoint
- URL for Jira instancelogin
- user email
JIRA_API_TOKEN
- Jira API token to use with CLI