Skip to content

Commit

Permalink
Added docs for bulk_update_issue_field method. Fixed docstring. (#1391)
Browse files Browse the repository at this point in the history
* Added new method: append value to a field. Updated docs.

* Fix docs

* Added docs for bulk_update_issue_field method. Fix docstring.
  • Loading branch information
SLRover authored May 20, 2024
1 parent 588f365 commit e0407e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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

0 comments on commit e0407e6

Please sign in to comment.