GET api/Tickets/GetJiraTickets/{id}?pageIndex={pageIndex}&pageSize={pageSize}

Gets a list of all Jira's tickets for ticket. Pagination is supported.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Ticket id

integer

Required

pageIndex

Optional page index (default is 0).

integer

None.

pageSize

Optional page size (default is 200).

integer

None.

Body Parameters

None.

Response Information

Resource Description

GetJiraTicketsResult
NameDescriptionTypeAdditional information
PagedJiraTickets

A page with Jira's tickets.

JiraTicketData

None.

Response Formats

application/json, text/json

Sample:
{
  "PagedJiraTickets": {
    "PageIndex": 1,
    "PageSize": 2,
    "TotalItems": 3,
    "TotalPages": 4,
    "Items": [
      {
        "Id": "sample string 1",
        "JiraId": "sample string 2",
        "JiraName": "sample string 3"
      },
      {
        "Id": "sample string 1",
        "JiraId": "sample string 2",
        "JiraName": "sample string 3"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<GetJiraTicketsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results">
  <PagedJiraTickets>
    <Items xmlns:d3p1="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.DataStructures">
      <d3p1:JiraTicketData>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:JiraId>sample string 2</d3p1:JiraId>
        <d3p1:JiraName>sample string 3</d3p1:JiraName>
      </d3p1:JiraTicketData>
      <d3p1:JiraTicketData>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:JiraId>sample string 2</d3p1:JiraId>
        <d3p1:JiraName>sample string 3</d3p1:JiraName>
      </d3p1:JiraTicketData>
    </Items>
    <PageIndex>1</PageIndex>
    <PageSize>2</PageSize>
    <TotalItems>3</TotalItems>
    <TotalPages>4</TotalPages>
  </PagedJiraTickets>
</GetJiraTicketsResult>