Search JIRA issue by JQL
Note: this action requires Jira Login Action
Example JQL action:
- name: JIRA JQL Query
id: jira-jql-query
uses: shamrat17/jira-jql-query@master
with:
jql: issuekey=bb-1234
fields: id,key,status
Here is full example workflow:
on:
push
name: Test JQL Query
jobs:
test-jira-jql-query:
name: JIRA JQL Query
runs-on: ubuntu-latest
steps:
- name: Login
uses: atlassian/gajira-login@master
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
- name: JIRA JQL Query
id: jira-jql-query
uses: shamrat17/jira-jql-query@master
with:
jql: issuekey=bb-1234
fields: id,key,status
- None
jql
(required) - The JQL query wants to execute,fields
- Fields we want to retrive. e.g. id,key,status
jqlResult
- JSON data containing JQL result
jql
fields
- None