Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-JiraProject to sholl all projects does not extract content of available fields #216

Closed
dernorberto opened this issue Feb 19, 2018 · 1 comment
Assignees
Milestone

Comments

@dernorberto
Copy link

Expected Behavior

If I run

Get-JiraProject -credential $cred| fl id,category,issuetypes,resturl,key,components,name,description,roles

or

Get-JiraProject -credential $cred

... I should see ALL the fields

  1. ID
  2. Category
  3. IssueTypes
  4. RestUrl
  5. Key
  6. Components
  7. Name
  8. Description
  9. Roles

Current Behavior

running:

Get-JiraProject -credential $cred| fl id,category,issuetypes,resturl,key,components,name,description,roles

or

Get-JiraProject -credential $cred

does not show the fields:

  1. IssueTypes
  2. Components
  3. Description
  4. Roles

Possible Solution

Allow to show all fields with a project list query

Steps to Reproduce (for bugs)

  1. run: Get-JiraProject -credential $cred| fl IssueTypes,Components,Description,Roles
  2. output will show empty fields

Context

  • we are archiving projects by changing permissions scheme and we also add "ARCHIVED" to the description
  • this would help to at least quickly list all projects that are meant to be archived

Your Environment

  • JIRA Cloud
  • latest JiraPS

Version
-------
2.4.4
$PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.16299.248
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.16299.248
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
@lipkau lipkau self-assigned this Feb 22, 2018
@lipkau lipkau added this to To Do in Reported Bugs via automation Feb 22, 2018
@lipkau lipkau added this to the v2.5 milestone Feb 22, 2018
@lipkau
Copy link
Member

lipkau commented Feb 22, 2018

The reason for this is the lack of the ?expand= parameter in the code when requesting all the projects.
I will fix this with #215

lipkau added a commit to lipkau/JiraPS that referenced this issue Feb 22, 2018
@lipkau lipkau moved this from To Do to In Work in Reported Bugs Feb 22, 2018
lipkau added a commit to lipkau/JiraPS that referenced this issue Feb 22, 2018
@lipkau lipkau mentioned this issue Mar 22, 2018
6 tasks
@lipkau lipkau closed this as completed Mar 22, 2018
Reported Bugs automation moved this from In Work to Done Mar 22, 2018
@ghost ghost removed the Status:In Progress label Mar 22, 2018
@lipkau lipkau mentioned this issue Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Reported Bugs
  
Done
Development

No branches or pull requests

2 participants