Responsibility
    Triggers
    Api
    Admin

    Rate this page:

    Responsibility

    Post responsibility latest brokenBuild {planResultKeyOrPlanKey} {name}

    POST /rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}/{name}

    Add a responsible user for broken build.

    Request

    Path parameters
    name Required

    string

    User name

    planResultKeyOrPlanKey Required

    string

    Chain result or plan key, e.g. PROJ-PLAN or PROJ-PLAN-2

    Example

    1
    2
    curl --request POST \
      --url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}/{name}'

    Responses

    Successfully added user as responsible or user is already responsible for broken build

    Delete responsibility latest brokenBuild {planResultKeyOrPlanKey} {name}

    DELETE /rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}/{name}

    Remove user's responsibility from broken build.

    Request

    Path parameters
    name Required

    string

    User name

    planResultKeyOrPlanKey Required

    string

    Chain result or plan key, e.g. PROJ-PLAN or PROJ-PLAN-2

    Example

    1
    2
    curl --request DELETE \
      --url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}/{name}'

    Responses

    Successfully removed user as responsible or user was not responsible for broken build

    Get responsibility latest brokenBuild byUser {name}

    GET /rest/responsibility/latest/brokenBuild/byUser/{name}

    Get broken builds for user.

    Request

    Path parameters
    name Required

    string

    User name

    Query parameters
    showAllResponsible

    string

    If response should include other responsible users

    Example

    1
    2
    3
    curl --request GET \
      --url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/byUser/{name}' \
      --header 'Accept: application/json'

    Responses

    List of plan keys with responsible users

    Content typeValue
    application/json

    object

    Get responsibility latest brokenBuild myBrokenBuilds

    GET /rest/responsibility/latest/brokenBuild/myBrokenBuilds

    Get broken builds for logged in user.

    Request

    There are no parameters for this request.

    Example

    1
    2
    3
    curl --request GET \
      --url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/myBrokenBuilds' \
      --header 'Accept: application/json'

    Responses

    List of plan keys with responsible users

    Content typeValue
    application/json

    object

    Get responsibility latest brokenBuild {planResultKeyOrPlanKey}

    GET /rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}

    Get responsible users for broken build result or plan.

    Request

    Path parameters
    name Required

    string

    User name

    planResultKeyOrPlanKey Required

    string

    Chain result or plan key, e.g. PROJ-PLAN or PROJ-PLAN-2

    Example

    1
    2
    3
    curl --request GET \
      --url 'http://{baseurl}/rest/responsibility/latest/brokenBuild/{planResultKeyOrPlanKey}' \
      --header 'Accept: application/json'

    Responses

    Plan key with responsible users

    Content typeValue
    application/json

    anything

    Rate this page: