Search Search

yaml
type: "io.kestra.plugin.github.issues.Search"

Search for GitHub issues

If no authentication is provided, anonymous authentication will be used

Examples

Search for issues in a repository.

yaml
id: github_issue_search_flow
namespace: company.team

tasks:
  - id: search_issues
    type: io.kestra.plugin.github.issues.Search
    oauthToken: your_github_token
    query: "repo:kestra-io/plugin-github is:open"

Search for open issues in a repository.

yaml
id: "search"
type: "io.kestra.plugin.github.issues.Search"
id: github_issue_search_flow
namespace: company.team

tasks:
  - id: search_open_issues
    type: io.kestra.plugin.github.issues.Search
    oauthToken: your_github_token
    repository: kestra-io/plugin-github
    open: TRUE

Properties

closed

  • Type: boolean
  • Dynamic:
  • Required:

Whether issue is closed.

jwtToken

  • Type: string
  • Dynamic: ✔️
  • Required:

GitHub JWT token

Does not requires additional fields to log-in

login

  • Type: string
  • Dynamic: ✔️
  • Required:

GitHub login

Requires additional field: oauthToken, to log-in

mentions

  • Type: string
  • Dynamic: ✔️
  • Required:

Searched issues mentions by specified user.

merged

  • Type: boolean
  • Dynamic:
  • Required:

Whether issue is merged.

oauthToken

  • Type: string
  • Dynamic: ✔️
  • Required:

GitHub oauthToken

GitHub Personal Access Token. In addition, can be used with login or by its own

open

  • Type: boolean
  • Dynamic:
  • Required:

Whether the issue is open.

order

  • Type: string
  • Dynamic:
  • Required:
  • Default: ASC
  • Possible Values:
    • ASC
    • DESC

Order of the output.

ASC - the results will be in ascending order

DESC - the results will be in descending order

query

  • Type: string
  • Dynamic: ✔️
  • Required:

The query contains one or more search keywords and qualifiers. Allows you to limit your search to specific areas of GitHub.

sort

  • Type: string
  • Dynamic:
  • Required:
  • Default: CREATED
  • Possible Values:
    • CREATED
    • UPDATED
    • COMMENTS

Sort condition for the output.

CREATED - Sorts the results of query by the time issue was created (DEFAULT)

UPDATED - Sorts the results of query by the tome issue was last time updated

COMMENTS - Sorts the results of query by the number of comments

Outputs

uri

  • Type: string
  • Required:
  • Format: uri

Was this page helpful?