Jira Build
- POST
- /workspaces
- /:workspace
- /projects
- /:project_name
- /pipelines
- /:pipeline_id
- /actions
Creates a new Jira Build action in the pipeline
Request example
curl -X POST "https://api.buddy.works/workspaces/:workspace/projects/:project_name/pipelines/:pipeline_id/actions" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "Send Jira build notification",
"type": "JIRA_BUILD",
"trigger_time": "ON_EVERY_EXECUTION",
"integration": {
"identifier": "jira-integration"
},
"issue_key": "PROJ-123",
"display_name": "Build #$BUDDY_EXECUTION_ID",
"description": "Build completed for commit $BUDDY_EXECUTION_REVISION",
"state": "successful"
}'STATUS200 OK