The platform is available in over 80 languages

Project Workflow Reference

The GitScrum API is an automated system designed to help organizations manage their project workflows more efficiently. With the API, users can easily create and customize workflow columns, edit them, and delete them as needed. This allows teams to quickly track progress and make changes to their projects without having to manually manage everything.

The GitScrum API provides endpoints for managing these workflow columns and other related resources.

ENDPOINTS
GET

/project-templates/workflow

POST

/project-templates/workflow

PUT

/project-templates/workflow/:id

DELETE

/project-templates/workflow/:id

The Project Workflow Object

Attributes

id NUMBER

Unique identifier for the workflow object.

slug STRING

Unique identifier for the workflow object.

title STRING

The title attribute of a workflow is a string that describes the workflow column name.

More Attributes

THE OBJECT RESPONSE
{
  "id": number,
  "title": string,
  "description": string,
  "slug": string,
  "type": string,
  "color": string,
  "position": number,
  "state": number,
  "default": boolean,
  "emails": string or null,
  "autoarchive": boolean
}

Create a Workflow Column

The Create Workflow Column endpoint on the GitScrum API allows users to add workflow columns to a project remotely by making a POST request.

Parameters

title STRING REQUIRED

The title attribute of a workflow is a string that describes the workflow column name

state STRING OPTIONAL

The state parameter is used to represent the current status of a workflow column, and can have one of three possible values: Todo, In Progress, or Done.

More Parameters

ENDPOINT

POST /project-templates/workflow

RESPONSE 201 Created
{
  "id": 1,
  "title": "Todo",
  "description": "changed notifications to \"todo\"",
  "slug": "issue-todo",
  "type": "issues",
  "color": "#b3dc6c",
  "position": 1,
  "state": 0,
  "default": true,
  "emails": null,
  "autoarchive": 0
}

Update a Workflow Column

To modify the specified workflow column by changing the values of the supplied parameters, send a PUT request with the updated parameter values. Any parameters not provided will remain unchanged.

Parameters

id NUMBER REQUIRED

Unique identifier for the workflow column object.

title STRING OPTIONAL

The title parameter should provide a short name for task types such as developing new features, bug fixes and investigations, for example.

state STRING OPTIONAL

The state parameter is used to represent the current status of a workflow column, and can have one of three possible values: Todo, In Progress, or Done.

color STRING OPTIONAL

The color parameter is used to store the color associated with a Workflow Column, represented as a hexadecimal string

More Parameters

ENDPOINT

PUT /project-templates/workflow/:id

RESPONSE 200 OK
{
  "id": 1,
  "title": "Todo",
  "description": "changed notifications to \"todo\"",
  "slug": "issue-todo",
  "type": "issues",
  "color": "#b3dc6c",
  "position": 1,
  "state": 0,
  "default": true,
  "emails": null,
  "autoarchive": 0
}

List All Workflow Columns

Make a GET request to return a sorted list of your Workflow Columns, with the Workflow Columns being sorted by the position attribute in ascending order.

Parameters

No parameters.

ENDPOINT

GET /project-templates/workflow

RESPONSE 200 OK
{
  "data": [
    { ... },
    { ... },
    { ... }
  ]
}

Delete a Workflow Column

To delete a Workflow Column, use the DELETE method.

Parameters

No parameters.

Returns

Returns a deleted object on success.

ENDPOINT

DELETE /project-templates/workflow/:id

RESPONSE 200 OK
{ }