Differentiate between name and id when searching for fields
Expected Behavior
I can define if I want to search by name, id or both
Current Behavior
The function always first returns name matches and if no match, all id matches
Possible Solution
Have parameters for that
@lipkau, are you talking about Get-JiraField commandlet?
Would you like to split parameter -Field to 2 -FieldId and -FieldName ?
@lipkau, are you talking about Get-JiraField commandlet? yes, I am
Would you like to split parameter -Field to 2 -FieldId and -FieldName ? not sure, as it would change a lot the way this cmdlet works (eg:
Get-JiraField "Team", customfield_12000would need to be 2 calls of the cmdlet) my initial thought was to have a[Switch]parameter to restrict the behavior to only search for ids