Rate this page:
GET /rest/responsibility/latest/brokenBuild/byUser/{name}
Get broken builds for user.
string
User name
string
If response should include other responsible users
1 2 3
curl --request GET \
--url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/byUser/{name}' \
--header 'Accept: application/json'
List of plan keys with responsible users
Content type | Value |
---|---|
application/json |
GET /rest/responsibility/latest/brokenBuild/myBrokenBuilds
Get broken builds for logged in user.
1 2 3
curl --request GET \
--url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/myBrokenBuilds' \
--header 'Accept: application/json'
List of plan keys with responsible users
Content type | Value |
---|---|
application/json |
GET /rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}
Get responsible users for broken build result or plan.
string
User name
string
Chain result or plan key, e.g. PROJ-PLAN or PROJ-PLAN-2
1 2 3
curl --request GET \
--url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}' \
--header 'Accept: application/json'
Plan key with responsible users
Content type | Value |
---|---|
application/json | anything |
POST /rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}/{name}
Add a responsible user for broken build.
string
User name
string
Chain result or plan key, e.g. PROJ-PLAN or PROJ-PLAN-2
1 2
curl --request POST \
--url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}/{name}'
Successfully added user as responsible or user is already responsible for broken build
DELETE /rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}/{name}
Remove user's responsibility from broken build.
string
User name
string
Chain result or plan key, e.g. PROJ-PLAN or PROJ-PLAN-2
1 2
curl --request DELETE \
--url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}/{name}'
Successfully removed user as responsible or user was not responsible for broken build
Rate this page: