Add a responsible user for broken build.
string
Requiredstring
RequiredSuccessfully added user as responsible or user is already responsible for broken build
1
2
curl --request POST \
--url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}/{name}'
Remove user's responsibility from broken build.
string
Requiredstring
RequiredSuccessfully removed user as responsible or user was not responsible for broken build
1
2
curl --request DELETE \
--url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}/{name}'
Get broken builds for user.
string
Requiredstring
List of plan keys with responsible users
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/byUser/{name}' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"self": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25",
"prev": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0",
"next": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50",
"start": 25,
"limit": 25,
"results": [
{
"responsibleUsers": [
{
"assignedUser": "<string>",
"assignedBy": "<string>"
}
],
"planResultKey": "PROJ-PLAN-2"
}
]
}
Get broken builds for logged in user.
This request has no parameters.
List of plan keys with responsible users
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/myBrokenBuilds' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"self": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=25",
"prev": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0",
"next": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50",
"start": 25,
"limit": 25,
"results": [
{
"responsibleUsers": [
{
"assignedUser": "<string>",
"assignedBy": "<string>"
}
],
"planResultKey": "PROJ-PLAN-2"
}
]
}
Get responsible users for broken build result or plan.
string
Requiredstring
RequiredPlan key with responsible users
any
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}' \
--header 'Accept: application/json'
Rate this page: