Skip to content

Commit

Permalink
Added docs for bulk_update_issue_field method. Fix docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
SLRover committed May 20, 2024
1 parent b9f15dc commit 32acc4f
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 32acc4f

Please sign in to comment.