Tutorial: Create Issue with Bytebase API
Issue Endpoint | POST /v1/projects/-/issues |
Issue
drives the database operations in Bytebase. The issue contains following info:
- Issue metadata. e.g
title
anddescription
. - Plan. Contain one or multiple change statements and dictate how they are grouped and ordered. The plan layouts how to execute the change statements.
- Sheet. Plan references change statements via the
Sheet
object. EachSheet
contains one or more change statements. - Step. Plan orchestrates the order via
Step
. EachStep
specifies one or more changes units. A change unit specifies the SQL statements viaSheet
and the target database.
- Sheet. Plan references change statements via the
- Rollout. The actual execution of the plan.