Skip to content
Notis

Auto-Create Config Repos for New Environments

Every environment gets infrastructure instantly.

Trigger

Public Team Issue Created

Fires when a new issue is created in a Linear *public* team. For private teams (lock icon in Linear's sidebar) use `LINEAR_PRIVATE_TEAM_ISSUE_CREATED`.

Action

Create repository

Creates a new bitbucket 'git' repository in a specified workspace, defaulting to the workspace's oldest project if `project key` is not provided.

Why this helps

New environment setup tickets pile up in Linear while someone manually creates config repositories. Infrastructure setup delays everything else.

  • Infrastructure ready before setup work starts
  • Consistent environment structure
  • Faster environment provisioning

Setup

Build it in a few focused steps.

  • 1Connect Linear and Bitbucket to Notis
  • 2Create an automation: 'When an environment setup issue is created in Linear (labeled "env-setup"), create a new Bitbucket repository for configuration'
  • 3Select 'Public Team Issue Created' as the trigger
  • 4Tag for environment-setup-labeled issues
  • 5Test by creating a labeled environment issue

Questions about this workflow

Can I create environment-specific repos?

Yes. Create separate automations for dev, staging, and prod environments, each targeting their own repos.

Should config repos be private?

Yes. Set your Bitbucket workspace default to private repos, or specify in the automation that config repos should be private.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Linear to Bitbucket. A trigger fires from one place; an action lands in another.

Linear triggers

Bitbucket actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Create a branch

Creates a new branch in a bitbucket repository from a target commit hash; the branch name must be unique, adhere to bitbucket's naming conventions, and not include the 'refs/heads/' prefix.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Create an issue

Creates a new issue in a bitbucket repository, setting the authenticated user as reporter; ensures assignee (if provided) has repository access, and that any specified milestone, version, or component ids exist.

ActionInstant

Comment Received Trigger

Triggered when a comment is received.

TriggerInstant

Create an issue comment

Adds a new comment with markdown support to an existing bitbucket issue.

ActionInstant

Issue Created Trigger

Triggered when a new issue is created.

TriggerInstant

Create a pull request

Creates a new pull request in a specified bitbucket repository, ensuring the source branch exists and is distinct from the (optional) destination branch.

ActionInstant

Issue Updated Trigger

Triggered when an issue is updated. For example labels are changed, issue status is changed, etc.

TriggerInstant

Create repository

Creates a new bitbucket 'git' repository in a specified workspace, defaulting to the workspace's oldest project if `project key` is not provided.

ActionInstant

Private Team Comment Created

Fires when a new comment is posted on an issue in a private Linear team (polled with the connected user's token).

TriggerPolling

Create snippet comment

Posts a new top-level comment or a threaded reply to an existing comment on a specified bitbucket snippet.

ActionInstant

Private Team Issue Created

Fires when a new issue appears in a private Linear team (polled with the connected user's token).

TriggerPolling

Delete issue

Permanently deletes a specific issue, identified by its `issue id`, from the repository specified by `repo slug` within the given `workspace`.

ActionInstant

Private Team Issue Properties Updated

Fires when properties on an issue change in a private Linear team (polled with the connected user's token).

TriggerPolling

Delete repository

Permanently deletes a specified bitbucket repository; this action is irreversible and does not affect forks.

ActionInstant

Connect any two apps with Notis in the middle.

Linear and Bitbucket, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Bitbucket.