public/api-v2/worklog/Invoke-JiraGetWorklogPropertyKeys.ps1

#
function Invoke-JiraGetWorklogPropertyKeys {
    [CmdletBinding()]
    param (
        # The issue Id or Key
        [Parameter(Mandatory,Position=0)]
        [string]
        $IssueIdOrKey,

        # The issue Id or Key
        [Parameter(Mandatory,Position=1)]
        [string]
        $WorklogId,

        # The JiraConnection object to use for the request
        [Parameter(Position=2)]
        [hashtable]
        $JiraConnection
    )
    process {
        $functionPath = "/rest/api/2/issue/$IssueIdOrKey/worklog/$WorklogId/properties"
        $verb = "GET"

        (Invoke-JiraRestMethod $JiraConnection $functionPath $verb).keys
    }
}