Workflow automations

Automations run a small trigger → actions rule whenever something happens in your workspace: an issue is created, a status changes, an agent finishes a session. Instead of nudging issues along by hand, you describe the behaviour once and Hiveship applies it for you, server-side and in the background. Automations are a Pro feature; on the free plan the Automations page stays visible with a Pro upgrade prompt so you can see what it does before you upgrade. One exception: the two status rules on the Pull request rules card run on every plan. The merge rule is on from the start, so a merged pull request closes its issue without any setup; you can turn either rule off or on from the card.

Anatomy of a rule

Each rule is built from four parts in the rule editor (Settings → Automations → New rule):

  • Trigger: the event that starts the rule.
  • Condition (optional): require a field on the triggering event to equal a value before the rule runs. Leave it blank to fire on every event of that type.
  • Actions: what Hiveship does when the rule fires. A rule can run up to ten actions, applied in order.
  • Scope: apply the rule across the whole workspace, or limit it to a single project.

Give the rule a name, save it, and it starts running. Every rule has an active toggle, so you can pause one without deleting it and switch it back on later. Creating, editing, and deleting rules is reserved for workspace owners and admins, and for members who have been granted the Manage automations permission. Other members can see the rules that are running but not change them; viewers don’t see the Automations page.

Triggers

A rule fires on one of these workspace events:

  • Issue created: a new issue lands anywhere in scope.
  • Issue status changed: an issue moves between workflow statuses.
  • Issue labeled: a label is added to an issue.
  • Agent session completed: an agent finishes working on an issue.
  • Agent session errored: an agent run fails.
  • Due date approaching, Due date overdue or Issue is stale: time-based checks on an issue’s due date or how long it has gone without an update. Hiveship checks these every 15 minutes.
  • On a schedule: fires daily, weekly or monthly, with no issue behind it. Pair it with Create an issue for recurring work.
  • Sprint started or Sprint completed: a sprint starts or finishes (in the rule’s project, if the rule is scoped to one). Each rule runs once per sprint.
  • Project status changed: a project moves to a new status. Add a condition on status to react to one status only, such as Completed.
  • First PR opened or Last PR merged: an issue’s first linked pull request opens, or the last of its open pull requests merges. These are the rules behind the Pull request rules card at the top of the page.

The agent-session triggers are what make automations agent-first: you can react to what your agents do, as well as to what people do. For example, move an issue to a review status the moment an agent finishes, or ping a human when an agent run errors out.

Actions

When the trigger (and condition, if set) matches, the rule runs each action you configured, in order:

  • Change status: move the issue to a workflow status you pick.
  • Assign user: set the assignee to a teammate.
  • Delegate to agent: hand the issue to an AI agent. This queues an agent session and leaves the human assignee untouched, so the work starts without anyone clicking through the delegation flow by hand.
  • Add label: tag the issue with a label.
  • Send notification: notify a teammate with a title and optional body.
  • Create an issue: add a new issue to the rule’s project. This is the action to pair with the sprint and project triggers, for example a retro issue every time a sprint completes.

How rules run

Automations execute on the server, asynchronously. The rule is queued and runs a moment after the triggering event, so it never blocks the action that set it off. A rule that fails is logged and skipped; it won't stall issue creation, status changes, or anything else happening in your workspace. When a rule moves an issue or delegates it, the issue’s activity feed shows System as the actor (“moved this to in review automatically”), so you can tell it wasn’t a person. Assigning and labelling don’t add a feed entry. To see which rule fired and what each of its actions did, open the rule’s Run history.

Because triggers include agent-session events and one of the actions is "delegate to agent," rules can chain: a human creates an issue, a rule delegates it to an agent, and a second rule moves it to review the moment that agent finishes. That's the agent-first loop automations are built for.

Example rules

  • When an issue is created in the Bugs project, send a notification to the on-call engineer.
  • When an agent session completes, change status to "In Review" so a human picks it up.
  • When an issue is created in the Triage project, delegate to agent to start the work automatically.
  • When an agent session errors, assign the issue to your triage lead so a human takes over.

Next steps