Supported Ticket providers: Jira, Linear, GitHub Issues, GitLab Issues
create_ticket tool automatically generates tickets in your ticket tracking system (Jira, Linear, GitHub Issues, or GitLab Issues) based on PR content.
It analyzes the PR’s data, including code changes, commit messages, and the PR description, to create well-structured tickets that capture the essence of the development work. This helps teams maintain traceability between code changes and project management systems.
When a ticket is created, it is added to the PR description under an Auto-created Ticket section, complete with a link to the generated ticket.

How to use the create_ticket tool
Prerequisites
To use this tool, you must integrate your ticketing system with Qodo. See the Ticket Compliance Documentation for setup instructions.- Jira Cloud users: re-integrate your connection through the Qodo integration page to enable the update permission required for ticket creation.
- Configure the project key for the repository where the PR is created by adding
default_project_keyto your configuration:
Automatic ticket creation
The tool can automatically create tickets when:- A PR is opened or updated
- The PR does not already have an associated ticket
.pr_agent.toml configuration:
Interactive ticket creation via compliance tool
Supported only on GitHub and GitLab
1
Check the Create ticket box in the Compliance Tool.
2
The tool will create the ticket and update the PR Description with an Auto-created Ticket section containing the link.
3
Click Update in the Ticket Compliance section to finalize.



Manual ticket creation
You can trigger ticket creation manually from any PR by commenting:Configuration options
Configure thecreate_ticket tool by setting configurations under the pr_to_ticket part in your configuration file.
Compliance benefits
Thecreate_ticket tool supports SOC-2 compliance by automatically creating tickets from PRs and establishing bidirectional links between them. This ensures every code change is traceable to its corresponding business requirement or task.