JiraPS icon indicating copy to clipboard operation
JiraPS copied to clipboard

Properties of objects should be converted to appropriate type

Open lipkau opened this issue 8 years ago • 0 comments

Expected Behavior

All occurrences of "components" as of the same type

Current Behavior

a lot of properties contain resources that have their own type, but are not converted to those.

Possible Solution

  • convert all occurrences of these resources to the appropriate type with $i.<resource> | ConvertTo-Jira<resource>
  • make the private functions that convert to these object type not throw an error when $InputObject is empty (make it not mandatory)

Steps to Reproduce (for bugs)

$projects = Get-JiraProject
$projects.Components.PSTypeNames

lipkau avatar Aug 02 '17 20:08 lipkau