public/api-v2/field/Invoke-JiraGetCustomFieldOption.ps1
#https://developer.atlassian.com/cloud/jira/platform/rest/v2/#api-rest-api-2-customFieldOption-id-get function Invoke-JiraGetCustomFieldOption { [CmdletBinding()] param ( # The ID of the custom field [Parameter(Mandatory,Position=0)] [string] $FieldId, # The JiraContext object to use for the request [Parameter()] [JiraContext] $JiraContext ) process { $functionPath = "/rest/api/2/customFieldOption/$FieldId" $verb = "GET" $method = New-Object RestMethod @($functionPath,$verb) $method.Invoke($JiraContext) } } |