-
-
Notifications
You must be signed in to change notification settings - Fork 884
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
Jira Cloud user support #1109
Jira Cloud user support #1109
Conversation
962849c
to
dc4c987
Compare
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.
everything seems understandable and correct...
what worries me architecturally is that maybe we should split up the cloud vs the server part into two classes ...
this seems like a patch for a much larger problem... (i'm guessing more problems will pop up)
I'll check out your code to play around a little bit (y)
I'd be willing to help contribute to this refactoring... (but we should plan it a bit)
Agreed, for a 4.0 or other major version release I think it makes sense to revisit how we do this and implement a more scalable solution |
dc4c987
to
2f1acbc
Compare
2f1acbc
to
96f4225
Compare
96f4225
to
f791cc1
Compare
* test_user allow_on_cloud, with appropriate fixes to jira.resources * update test_generic_resource * update search_allowed_users_for_issue() for Jira Cloud * add a search function to the Jira Cloud tests * add test_search_users() to allow_on_cloud
Hi, I think delete_user() also needs an update as it's not working with emails anymore on JIRA Cloud. I got a workaround for now:
Let me know if I can help in any way! Thank you, |
Hi @kot0dama it would be great if you could raise an issue for this - (I would use the bug template). Would also be great for you to include the workaround you have in case this is useful for anyone else in the meantime. We are happy to review any pull requests you have too. If you do want to take a crack at some code this kind of behaviour we currently handle with a So perhaps we could do something like |
accountId
in theUser
class. Two tests were updated to assert that the Jira Cloud users were returned asUser
objects:.user()
method of theJIRA
class - i.e. testing obtaining a known user.search_allowed_users_for_issue()
method of theJIRA
class - i.e. testing a paginated endpoint.search_users()
method of theJIRA
class - i.e. adding tests to a commonly used functionFixes #1060 #971
Replaces #1106
NOTE: This is pointing at #1107 temporarily to make the review small, will eventually directly target the main branch