Skip to main content

7 docs tagged with "api"

View all tags

Create New Release via REST API

If you want to automate Release—for example, to trigger a release or pipeline run from an upstream system—the Release REST API is good way to do so. This topic describes how to use cURL or PowerShell to start a new release based on a release template.

Declare Custom REST Endpoints

You can extend Release by creating new endpoints backed by Jython scripts. You can use this feature, for example, to integrate with other systems.

How to Find Identifiers for REST API

To use the Release REST API, you need to know the unique identifiers for templates, releases, phases and tasks. This topic explains where you can find them.

Using Release API in Scripts

Release has an API that you can use to manipulate releases and tasks. You can access the API from Jython Script tasks and from Release plugin scripts. This is an example of a simple Jython script in a Script task. It uses a script to add a comment to the task.