A WordPress plugin that integrates Linear projects with WordPress by creating posts from webhook data.
Linear WordPress Integration creates WordPress posts automatically when new projects are created in Linear. It sets up a custom REST API endpoint to receive webhook data from Linear and creates new posts based on a configurable template.
- Creates WordPress posts from Linear projects
- Adds project updates as comments on the corresponding posts
- Customizable post template with placeholders for Linear project data
- Secure webhook handling with signature validation
- Easy setup with minimal configuration
- Upload the
linear-wp
folder to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Go to Settings > Linear WP to configure the plugin
composer require jacobsmith/linear-wp
- In WordPress, go to Settings > Linear WP
- Copy the Webhook URL shown on the settings page
- In Linear, go to Settings > API > Webhooks
- Create a new webhook with the URL from step 2
- Copy the webhook signing secret from Linear and paste it into the plugin settings
- Select which events to send to WordPress (recommended: Projects and Project Updates)
- Save your settings in both Linear and WordPress
Once configured, the plugin will automatically:
- Create a new WordPress post when a new project is created in Linear
- Add comments to the post when project updates are created in Linear
You can customize the post template in the plugin settings to control how Linear project data is displayed in WordPress.
The following placeholders can be used in the post template:
{id}
- Linear project ID{name}
- Project name{description}
- Project description{url}
- URL to the project in Linear{created_at}
- Project creation date{updated_at}
- Project last update date{start_date}
- Project start date{target_date}
- Project target completion date{health}
- Project health status{status_name}
- Project status{lead_name}
- Project lead name{lead_email}
- Project lead email{initiative_linked}
- Linked initiative with URL{initiative_name}
- Initiative name{initiative_url}
- Initiative URL
When a project update is created in Linear, the plugin will:
- Find the corresponding WordPress post
- Add a new comment with formatted update information
- Include health status indicators (color-coded):
- Off Track (Red)
- At Risk (Yellow)
- On Track (Green)
Go to Settings > Linear WP and edit the Post Template field. You can use any of the available placeholders listed above.
Yes, you can enable the "Bypass Signature Validation" option in the plugin settings. This is not recommended for production environments.
- Check that the webhook URL in Linear matches the one shown in the plugin settings
- Verify that the webhook secret in WordPress matches the one in Linear
- Make sure the webhook is active in Linear
- Check that you've selected the appropriate events (Projects and Project Updates)
- Verify that your webhook is configured correctly in Linear
- Check that the webhook secret matches between Linear and WordPress
- Make sure you have selected the appropriate events in Linear
- Check your server's error logs for any PHP errors
- Make sure the webhook secret in WordPress exactly matches the one in Linear
- If testing locally, you may need to enable "Bypass Signature Validation"
Contributions are welcome! Please feel free to submit a Pull Request.
- Clone the repository
- Run
composer install
to install dependencies - Set up a local WordPress development environment
This plugin is licensed under the GPL v2 or later.
- Initial release
- Support for creating posts from Linear projects
- Customizable post templates
- Project update comments
- Health status indicators
- Initiative linking
- Markdown support for project updates