AtlassianPS / JiraPS

PowerShell module to interact with Atlassian JIRA
https://AtlassianPS.org/module/JiraPS
MIT License
321 stars 131 forks source link

Unable to retrieve data for custom fields #420

Closed ankushbanerjee closed 3 years ago

ankushbanerjee commented 4 years ago

I am using PSJira , I am issuing a command $OldIssues = Get-JiraIssue -Query 'project= AND created >=-60d' When I try to capture the value of a custom field that I know exists, I dont get any results. Write-Host $OldIssues.customfield_ But the KEY/Status/Summary fields return value.

How do I get the values of custom fields of a list of Issues in PSJira

lipkau commented 4 years ago

what version of the module are you using. The module hasn't been called PSJira for over two years now.

But you can see all the fields the API returned with this:

$oldIssues | fl *
ankushbanerjee commented 3 years ago

Thanks! Sorry it was a typo I was using JiraPS

Get Outlook for iOShttps://aka.ms/o0ukef


From: Oliver Lipkau notifications@github.com Sent: Sunday, June 28, 2020 11:26:46 AM To: AtlassianPS/JiraPS JiraPS@noreply.github.com Cc: Ankush Banerjee ankush_banerjee@outlook.com; Author author@noreply.github.com Subject: Re: [AtlassianPS/JiraPS] Unable to retrieve data for custom fields (#420)

what version of the module are you using. The module hasn't been called PSJira for over two years now.

But you can see all the fields the API returned with this:

$oldIssues | fl *

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AtlassianPS/JiraPS/issues/420#issuecomment-650789277, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKPBTVF2KPFQCRPHB2BEQETRY5VMNANCNFSM4OB7QMBQ.

jdelforno commented 3 years ago

please-close