public/api-v2/status/Invoke-JiraGetStatusCategory.ps1

#https://developer.atlassian.com/cloud/jira/platform/rest/v2/#api-rest-api-2-statuscategory-idOrKey-get
function Invoke-JiraGetStatusCategory {
    [CmdletBinding()]
    param (
        # The status category Id or key
        [Parameter(Mandatory,Position=0)]
        [string]
        $CategoryIdOrKey,

        # The JiraConnection object to use for the request
        [Parameter()]
        [hashtable]
        $JiraConnection
    )
    process {
        $functionPath = "/rest/api/2/statuscategory/$CategoryIdOrKey"
        $verb = "GET"

        Invoke-JiraRestMethod $JiraConnection $functionPath $verb
    }
}