Jira
JQL search (enhanced search/jql), issues, assign, transitions, comments (plain text converted to ADF), projects and issue types, site validated to *.atlassian.net, agent writes opt-in
About
A Graphrt plugin for the Jira Cloud platform REST API v3. It searches issues with JQL (the current enhanced search endpoint, /rest/api/3/search/jql), reads and writes issues, moves them through their workflow, comments, and lists projects, issue types and assignable users. It is built with the declarative REST layer (definition.mjs) plus plain-text parameters that are converted to Atlassian Document Format (lib/adf.mjs).
What it can do
- Search: search_issues (JQL, cursor paging with nextPageToken, sensible default fields)
- Issues: get_issue, create_issue, update_issue, assign_issue, delete_issue (node only)
- Workflow: list_transitions, transition_issue
- Comments: list_comments, add_comment
- Projects and users: get_myself, list_projects, get_project, list_issue_types, find_assignable_users
- api_request: any other v3 endpoint on your site (GET only for agents)
Actions
Each action is a step you can add to a workflow. Agents can also use most of them as tools.
- Current user
jira.get_myself - Search issues (JQL)
jira.search_issues - Get issue
jira.get_issue - Create issue
jira.create_issue - Update issue
jira.update_issue - Delete issue
jira.delete_issue - Assign issue
jira.assign_issue - List transitions
jira.list_transitions - Transition issue
jira.transition_issue - List comments
jira.list_comments
Show all 16 actions
- Comment on issue
jira.add_comment - List projects
jira.list_projects - Get project
jira.get_project - List issue types
jira.list_issue_types - Find assignable users
jira.find_assignable_users - Jira Cloud REST API v3 request
jira.api_request
Settings
Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.
-
JIRA_SITE_URLRequiredYour site, e.g. https://acme.atlassian.net (https, no path, must be on atlassian.net) -
JIRA_EMAILRequiredEmail of the Atlassian account -
JIRA_API_TOKENRequiredAPI token of that account -
JIRA_TOOL_ALLOW_WRITEOptional1 lets agent tools create, update, assign and transition issues and add comments
How to use it
In Graphrt Desktop
- Open Plugins and search for Jira.
- Click Install and approve it.
- Follow the setup steps on the plugin's page, then paste the settings it needs.
- Describe a job that needs it, and the builder adds the steps.
With the CLI
$ graphrt plugin install jira - id: transitions
type: jira.list_transitions
issue_key: OPS-12
- id: close
type: jira.transition_issue
issue_key: OPS-12
transition_id: "{{#transitions.data.0.id#}}"
- id: note
type: jira.add_comment
issue_key: OPS-12
text: "Closed by the nightly cleanup workflow."