@guildai-services/guildai~jira package provides agents with access to the Jira Cloud REST API through Guild’s OAuth 2.0 integration.
Authentication
- Type: OAuth 2.0 (Atlassian Cloud)
- Token expiration: 1 hour (auto-refreshed)
- Refresh token expiration: 90 days
- Note: Only Jira Cloud is supported — not Jira Server or Data Center
Setup
1
Open Credentials
Go to Credentials in Guild.
2
Connect Jira
Click Jira and authorize access through Atlassian.
3
Grant access
Select your Jira site. Guild automatically retrieves your Cloud ID.
Usage
Selecting specific tools
Agents perform better with fewer tools. Usepick() to include only what your agent needs. Tools are named with the jira_ prefix — for example, get_issue becomes jira_get_issue.
API endpoints
Projects
Projects
Issues
Issues
Comments
Comments
Search
Search
Issue links & types
Issue links & types
Worklogs
Worklogs
Users & permissions
Users & permissions
Fields, statuses & priorities
Fields, statuses & priorities
Webhook events
Jira uses a credential-scoped webhook model — one webhook is registered per credential set, and Guild routes events to matching triggers.
Events can be filtered by project using the
project field in the service config. Guild handles webhook re-registration automatically — Jira dynamic webhooks expire after 30 days.
The optional label_added field narrows a trigger to newly added labels. Set it to a non-empty list of label names, and the trigger fires only when one of them is newly added — on issue creation, when the issue carries the label, and on issue update, when the label appears in the change. Label matching is case-sensitive, unlike project.
label_added also restricts the trigger to issue events: comment events never fire while it is set.
Limitations
- OAuth refresh tokens expire after 90 days of inactivity
- Only Jira Cloud is supported (not Jira Server or Data Center)
get_comments/rest/api/3/issue/{issueIdOrKey}/commentadd_comment/rest/api/3/issue/{issueIdOrKey}/commentget_comment/rest/api/3/issue/{issueIdOrKey}/comment/{id}update_comment/rest/api/3/issue/{issueIdOrKey}/comment/{id}delete_comment/rest/api/3/issue/{issueIdOrKey}/comment/{id}