Skip to content

Workflow YAML Reference

Full specification of the crewbit workflow configuration file.

Top-level fields

FieldTypeRequiredDescription
providerstringyesIssue provider name (jira)
providersobjectyesProvider-specific configuration
transitionsobjectyesWorkflow transitions (order = priority)
agentobjectnoAgent behavior settings
daemonobjectnoDaemon timing settings
gitobjectnoGit branch settings

providers.jira

FieldTypeDescription
baseUrlstringJira instance URL
projectKeystringJira project key (e.g. KAN)
transitionIdsobjectMap of transition name → Jira ID
issueTypesobjectMap of type name → Jira issue type ID

transitions.<name>

FieldTypeDescription
fromstringSource status to pick issues from
commandstringClaude Code slash command to run (e.g. /develop)

daemon

FieldTypeDefaultDescription
waitSecondsnumber30Polling interval when queue is empty
maxSessionSecondsnumber7200Hard timeout per Claude session
worktreePrefixstringPrefix for git worktree branch names

git

FieldTypeDefaultDescription
defaultBranchstringmainBase branch for new worktrees
branchPatternstringTemplate for feature branch names
slugMaxLengthnumber40Max chars in the slug portion

agent

FieldTypeDescription
planCommentMarkerstringPrefix that identifies a plan comment on the issue

providers.github-projects

FieldTypeRequiredDescription
ownerstringyesGitHub organization or user login
projectNumbernumberyesProject number from the GitHub URL

Environment variable overrides

VariableOverrides
WAIT_SECONDSdaemon.waitSeconds
MAX_SESSION_SECONDSdaemon.maxSessionSeconds
JIRA_EMAILJira account email
JIRA_API_TOKENJira API token
GITHUB_TOKENGitHub personal access token