JiraPS
JiraPS copied to clipboard
Properties of objects should be converted to appropriate type
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