-
-
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
fixes 320 - assignment when similar users exist #328
Conversation
I have a unit test to cover the -Exact option and modified one to be more explicit how the Get-JiraUser should work when the -Exact is not used. I have also updated the Get-JiraUser documentations. |
Hi @michalporeba @lipkau do you have a schedule in mind for releasing 3.0? |
As far as I see the failing tests are to do with documentation, I would need some guidence there to make it work, but let's talk about the two solutions. Your change @stevenyoungs fixes much more than what I'm trying to achieve. The filter appears to be good long term solution, but it is a breaking change. Not only internally, but in any script people might have written using it. My approach has only two things in mind. Fix the problem with assigning users and make sure the impact is minimal. The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regarding the test failures:
- you must add a new parameter in the documentation:
JiraPS/docs/en-US/commands/Get-JiraUser.md
. I would recommend bellow https://github.com/AtlassianPS/JiraPS/blob/master/docs/en-US/commands/Get-JiraUser.md#-includeinactive
@stevenyoungs : I don't think this PR is the ideal solution for this matter. |
Thanks for the information and review. I will make the changes tomorrow morning. |
Thank you @lipkau for solving the documentation problem for me. Can you explain what it was? Was it just the missing |
you can see how that looks like in html on the documentation page: |
Description
Adds
-Exact
parameter to theGet-JiraUser
which internally switches from using search to get user.It is then used in the
Set-JiraIssue
when the-Assignee
is set.Motivation and Context
closes #320
closes #49
is continued by #306
Assigning users failing when
Get-JiraUser
for a specific username returns more than one userTypes of changes
Checklist