Back to Autogpt

Linear Issues

docs/integrations/block-integrations/linear/issues.md

0.6.444.4 KB
Original Source

Linear Issues

<!-- MANUAL: file_description -->

Blocks for creating and managing Linear issues.

<!-- END MANUAL -->

Linear Create Issue

What it is

Creates a new issue on Linear

How it works

<!-- MANUAL: how_it_works -->

This block creates a new issue in Linear using the GraphQL API. Specify the team, title, description, and optionally priority and project. The issue is created immediately and assigned to the specified team's workflow.

Returns the created issue's ID and title for tracking or further operations.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
titleTitle of the issuestrYes
descriptionDescription of the issuestrYes
team_nameName of the team to create the issue onstrYes
priorityPriority of the issueintNo
project_nameName of the project to create the issue onstrNo

Outputs

OutputDescriptionType
errorError message if the operation failedstr
issue_idID of the created issuestr
issue_titleTitle of the created issuestr

Possible use case

<!-- MANUAL: use_case -->

Bug Reporting: Automatically create issues from error monitoring or customer reports.

Feature Requests: Convert feature requests from forms or support tickets into Linear issues.

Task Automation: Create issues based on scheduled events or external triggers.

<!-- END MANUAL -->

Linear Get Project Issues

What it is

Gets issues from a Linear project filtered by status and assignee

How it works

<!-- MANUAL: how_it_works -->

This block retrieves issues from a Linear project with optional filtering by status and assignee. It queries the Linear GraphQL API and returns matching issues with their details.

Optionally include comments in the response for comprehensive issue data.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
projectName of the project to get issues fromstrYes
statusStatus/state name to filter issues by (e.g., 'In Progress', 'Done')strYes
is_assignedFilter by assignee status - True to get assigned issues, False to get unassigned issuesboolNo
include_commentsWhether to include comments in the responseboolNo

Outputs

OutputDescriptionType
errorError message if the operation failedstr
issuesList of issues matching the criteriaList[Issue]

Possible use case

<!-- MANUAL: use_case -->

Sprint Reports: Generate reports of issues in specific states for sprint reviews.

Workload Analysis: Find unassigned or overdue issues across projects.

Status Dashboards: Build dashboards showing issue distribution by status.

<!-- END MANUAL -->

Linear Search Issues

What it is

Searches for issues on Linear

How it works

<!-- MANUAL: how_it_works -->

This block searches for issues in Linear using a text query. It searches across issue titles, descriptions, and other fields to find matching issues. You can limit the number of results returned using the max_results parameter (default: 10, max: 100) to control token consumption and response size.

Optionally filter results by team name to narrow searches to specific workspaces. If a team name is provided, the block resolves it to a team ID before searching. Returns matching issues with their state, creation date, project, and assignee information. If the search or team resolution fails, an error message is returned.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
termTerm to search for issuesstrYes
max_resultsMaximum number of results to returnintNo
team_nameOptional team name to filter results (e.g., 'Internal', 'Open Source')strNo

Outputs

OutputDescriptionType
errorError message if the search failedstr
issuesList of issuesList[Issue]

Possible use case

<!-- MANUAL: use_case -->

Duplicate Detection: Search for existing issues before creating new ones.

Related Issues: Find issues related to a specific topic or feature.

Quick Lookup: Search for issues by keyword for customer support or research.

<!-- END MANUAL -->