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
Allow _get_user_accountid to find "Unassigned" and "Automatic" users. #1152
Conversation
Return None, -1, and "-1" back from _get_user_accountid to allow `assign_issue` to do that as well. Co-Authored-By: Byron Peebles <17276623+truthbyron@users.noreply.github.com>
Co-Authored-By: pari <57524256+patrick-ringl-by@users.noreply.github.com>
ec669f0
to
07347ec
Compare
@@ -162,6 +162,10 @@ Reassign an issue:: | |||
# requires issue assign permission, which is different from issue editing permission! | |||
jira.assign_issue(issue, 'newassignee') | |||
|
|||
If you want to unassign it again, just do:: | |||
|
|||
jira.assign_issue(issue, None) |
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.
would it make sense to clarify it has a return value?
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.
I see the examples as more of a quick-start guide, that can help someone understand what features are available, with the function docstrings being the ground truth that explain the full syntax of how the function should be called and the return types.
That said, there should be a link to the function definition in the docs. I'll make a separate PR with that in
…pycontribs#1152) Return None, -1, and "-1" back from _get_user_accountid to allow `assign_issue` to do that as well. Co-authored-by: Byron Peebles <17276623+truthbyron@users.noreply.github.com> Co-authored-by: pari <patrick.ringl@blueyonder.com> Co-authored-by: pari <57524256+patrick-ringl-by@users.noreply.github.com>
Replaces: #902 , #1088