-
-
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
Add Get-JiraIssueWorklog #402
Comments
Just ran into this and I would appreciate this being supported out of the box. And thanks for the workaround idea! |
@nvarscar Also add |
I ended up just reusing
|
This was referenced Mar 21, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
I'd like to be able to get a full list of issue worklogs.
Get-JiraIssue
only returns the first 20.Description
I'd like a function
Get-JiraIssueWorklog
, modeled afterGet-JiraIssueComment
that returns a full list of all worklog items for an issue.Additional Information
Testing locally, I was able to accomplish this by copying the body of
Get-JiraIssueComment
to a new functionGet-JiraIssueWorklog
, changing only the URI (comment
->worklog
) and the OutputType (JiraComment
->JiraWorklogItem
). I also had to addJiraWorklogItem
to theValidateSet
forOutputType
onInvoke-JiraMethod
.I could submit a PR for this, but I'm not sure I'm able to write the appropriate unit tests.
The text was updated successfully, but these errors were encountered: