Skip to content
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

Added docs for bulk_update_issue_field method. Fixed docstring. #1391

Merged
merged 5 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion atlassian/jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ def update_issue_field(self, key, fields="*all", notify_users=True):

def bulk_update_issue_field(self, key_list, fields="*all"):
"""
:param key_list=list of issues with common filed to be updated
:param key_list: list of issues with common filed to be updated
:param fields: common fields to be updated
return Boolean True/False
"""
Expand Down
3 changes: 3 additions & 0 deletions docs/jira.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ Manage issues
fields = {'summary': 'New summary'}
jira.update_issue_field(key, fields, notify_users=True)

# Bulk update issue field
jira.bulk_update_issue_field(key_list, fields="*all")

# Append value to issue field
field = 'customfield_10000'
value = {'name': 'username'}
Expand Down