Issues

Issues describe the stories, tasks, or bugs performed in a project and their status and progress. We will see how to get the list of issues and their properties.

The issues model

The issues model contains essential information about the activity of a project, team and developer.

Properties

  • Name
    name
    Type
    string
    Description

    The name for the issue.

  • Name
    description
    Type
    string
    Description

    The description for the issue.

  • Name
    status
    Type
    string
    Description

    The status for the issue.

  • Name
    assignedUser
    Type
    User
    Description

    The assigned user for the issue.

  • Name
    createdBy
    Type
    User
    Description

    The user who creates the issue.

  • Name
    createdAt
    Type
    string
    Description

    Issue creation date

  • Name
    updatedAt
    Type
    string
    Description

    Issue update date

  • Name
    estimationInHours
    Type
    integer
    Description

    Estimation in hours

  • Name
    workTimeInHours
    Type
    integer
    Description

    Work time in hours

  • Name
    project
    Type
    string
    Description

    Project name.

  • Name
    priority
    Type
    string
    Description

    The priority for the issue.

  • Name
    type
    Type
    string
    Description

    The type for the issue.

  • Name
    reporter
    Type
    User
    Description

    The user who reporter the issue.

  • Name
    watchers
    Type
    List<User>
    Description

    The users who watchers the issue.

  • Name
    sprints
    Type
    List<Sprint>
    Description

    Sprint list.

  • Name
    timeTracking
    Type
    TimeTracking
    Description

    Time tracking


GET/api/dashboard/issues

List all issues

Request

GET
/api/dashboard/issues
curl -G https://api.pulzen-gateway/api/dashboard/issues \
  -H "Authorization: Basic {token}"

Response

{
  "name": "Generar Cargo",
  "description": "",
  "status": "Closed.",
  "id": "10114",
  "assignedUser": {
      "name": "Jordan Silva",
      "email": null
  },
  "createdBy": {
      "name": "Marcos Gutiérrez",
      "email": null
  },
  "createdAt": "2018-02-19T14:34:20.232",
  "updatedAt": "2018-03-09T09:33:18.662",
  "estimationInHours": 2,
  "workTimeInHours": 2,
  "area": null,
  "project": "POS Virtual",
  "sprintId": [
      "9",
      "10"
  ],
  "parent": null,
  "priority": "Medium",
  "commentsCount": 0,
  "type": "Sub-task",
  "dateEstimatedEndActivity": null,
  "stateChangedDate": "2018-03-09T09:33:18.666",
  "lastViewed": null,
  "reporter": {
      "name": "Marcos Gutiérrez",
      "email": null
  },
  "watchCount": 1,
  "watchers": [
      {
          "name": "Marcos Gutiérrez",
          "email": null
      }
  ],
  "provider": "JIRA",
  "comments": [],
  "key": "PV-66",
  "sprints": [
      {
          "id": "10",
          "name": "POS Sprint 5",
          "state": "closed",
          "boardId": "8",
          "goal": "1) Terminar implementación con PEINAU\n2) Avanzar con la implementación de Quickpay\n3) Cerrar Reportes y preparar paso a producción",
          "startDate": "2018-03-05T15:36:15.995",
          "endDate": "2018-03-16T15:36:00",
          "provider": "JIRA"
      },
      {
          "id": "9",
          "name": "POS Sprint 4",
          "state": "closed",
          "boardId": "8",
          "goal": "Avanzar con los servicios de Peinau para Cargos de Tarjeta Bancaria",
          "startDate": "2018-02-19T18:10:39.499",
          "endDate": "2018-03-02T18:10:00",
          "provider": "JIRA"
      }
  ],
  "storyPointsEstimate": null,
  "startDate": null,
  "timeOriginalEstimate": 9000,
  "timeTracking": {
      "originalEstimate": "2h 30m",
      "remainingEstimate": "0m",
      "timeSpent": "2h 30m",
      "originalEstimateSeconds": 9000,
      "remainingEstimateSeconds": 0,
      "timeSpentSeconds": 9000
  }
}

Query Parameters:

  • provider: Can be one of the following: JIRA.
  • dateStart: Format YYYY-MM-DD.
  • dateEnd: Format YYYY-MM-DD.