Tailflow
Skip to article
Browse documentation

GitHub · Action

Create issue

Opens a new issue in one repository, with a title, a body, labels and assignees.

When to use it

Turning an event that needs a person into a task: a contract upgrade to review, a failed liquidation to look into.

At a glance

IntegrationGitHub
Credits1
ConnectionGitHub, by signing in

Settings

repositoryRequired
Repository. Only repositories the Tailflow app is installed on are listed. You can also type owner/name. Picked from your account's own list, or typed.
titleRequiredAccepts event fields
Title.
bodyOptionalAccepts event fields
Body. Written in Markdown. Mentions and issue numbers that come from the event do not notify anyone.
labelsOptionalAccepts event fields
Labels. Separate labels with commas.
assigneesOptionalAccepts event fields
Assignees. GitHub usernames, separated by commas.

What it hands on

Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.github_create_issue_1.number }} — the action’s key, then which one it is if you use more than one of the same kind.

number
The issue's number. It is what Update issue, Create comment and Add labels take.
url
The link to the issue on GitHub.
id
GitHub's own id for the issue.
state
open or closed.
title
The issue's title.

Good to know

  • The repository must be one the Tailflow app is installed on. If it is not, the step fails and says so. When you typed the repository the flow stops, because every event would fail the same way.
  • Labels and assignees are set only when the person who connected GitHub can push to the repository. Otherwise GitHub opens the issue without them.
  • An assignee who cannot be assigned in the repository fails the step with GitHub's reason.
  • Mentions, issue numbers and words such as fixes that come from the event are written so they do not notify anyone or close anything. What you type yourself works as usual.