Skip to content

DanielHilton/jira-jql-search

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

JIRA JQL Search GitHub Action

This action searches JIRA for the issues that match the JQL passed in, and returns the results in a JSON array.

Donation

If you find this action useful, feel free to donate to my Ethereum address, 0xe3f51a4a8dea84a2266e403750ff8363db5e690f.

Action Information

Environment Variables 🔧

🚨 All variables are required 🚨

  • JIRA_HOST - the hostname of your JIRA instance
    • e.g. stark-industries.atlassian.net
  • JIRA_API_TOKEN - An access token from JIRA. Configure them here
  • JIRA_USER_EMAIL - The email of the user that generate JIRA_API_TOKEN

Inputs

  • jql (required) - A JIRA JQL query
  • fields - A comma-separated list of fields to map out of the issue data
    • If not supplied, all non 'customfield' issue data is returned, for finding custom field information, first find the name of the field in the JIRA API and add it to the list e.g. summary,description,customfield_10000

Outputs

  • issueData - JSON data containing all issue data

Example 📄

{
  "jql": "<The query you originally passed in>",
  "quantity": 2,
  "issues": [
    {
      "key": "ABC-1",
      "fields": {
        "creator": {
          Stuff...
        }
      },
      ...
    }
  ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published