Closed SarSerg closed 1 year ago
The GM is just going to show you output of the field...if you need to expand them out you will probably have to format it in a way that you can export it.
$var = Get-JiraIssue -Key keyid -Credential credentials | select labels
$var.labels -join ","
Thanks! Got it.
Description
Get-JiraIssue retrieves the ticket I need, but fields like "label", when they contain more than one item, appear as "SystemObject". I need to have these items (in "Label" field") expanded and readable
Steps To Reproduce
Run a comand like Get-JiraIssue -Key keyid -Fields "label" -Credential credentials | Get-Member
Expected behavior
I'd like to have the entire list of contained items in "label" (and "transition" as well)
Screenshots
see attached pic
Your Environment
Windows server 2022 standard
Get-Module JiraPS -ListAvailable | Select Name, Version
Name Version JiraPS 2.14.6
$PSVersionTable :
PSVersion 5.1.20348.1366
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.1366
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Possible Solution