Time In Status

Introduction

Endpoint that returns the Time In Status registered in Jira.

Endpoints

Method Endpoint Description
GET https://csp-plugin-jira-client-api.azurewebsites.net/TimeInStatus get TimeInStatus

Responses

When executing a successful request to the endpoint, it yields the following response:

                                            
[
  {
    example:[
        "Id": "cdc87632-8385-4238-aa39f",
        "IssueId": "c10cd8a6-8d93-48a-9ce857ec2092",
        "StatusName": "Done",
        "JiraId": 602,
        "EntryDate": "2023-04-24T17:52:05.076Z",
        "LeaveDate": null,
        "CreatedAt": "2024-01-16T18:36:23.203799Z",
        "UpdatedAt": null,
        "DeletionDate": null,
        "IsDeleted": false
    ]
  }
]
                                            
                                        

What is Query String?

A query string is a part of a URL (Uniform Resource Locator) that contains additional data to be sent to the server. It typically follows the question mark "?" in the URL and consists of key-value pairs, where values are often used to pass parameters to a web application.

Parameters Endpoint example with query string Description
dataSourceId https://csp-plugin-jira-client-api.azurewebsites.net/TimeInStatus=[DATASOURCEID] Filter project by dataSourceId

Get Time In Status Count

Method Endpoint Description
GET https://csp-plugin-jira-client-api.azurewebsites.net/TimeInStatus/$count Get TimeInStatus Count information

Responses

When executing a successful request to the endpoint, it yields the following response:

                                                
[
  {
    78
  }
]
                                                
                                            

Error

The Westeros API uses the following error codes:

Error code Description
401 Unauthorized indicates that the request was not applied because it does not have valid authentication credentials for the target resource.