-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Change "Issue" parameter of "Add-JiraIssueAttachment" to accept pipeline input #208
Comments
Please explain the use case. When do you want to attach the same file (s) to multiple issues? |
I have a .csv file with info for several issues. For each issue I have separate file to attach. |
The file should be accepted in the pipeline. Not the issue. Well... I need to check if PS can differentiate between to pipeline parameter if one is a PSObject. |
Tested... It does work... but the type declaration of the
If anyone can think of another alternative, please share |
Mentioned workaround sounds good to me. Thanks. |
Expected Behavior
"Add-JiraIssueAttachment" cmdlet should accept pipeline input, but for "Issue" parameter, according to 'Get-Help Add-JiraIssueAttachment -Full', "Accept pipeline input? false".
Current Behavior
"Add-JiraIssueAttachment" cmdlet does not accept pipeline input.
Possible Solution
Extend parameter block of "Issue" parameter to accept pipeline input.
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: