From 32acc4fa1c83a31943585e07acbc99a44edda389 Mon Sep 17 00:00:00 2001 From: Ilya Sapunov Date: Mon, 20 May 2024 12:16:28 +0300 Subject: [PATCH] Added docs for bulk_update_issue_field method. Fix docstring. --- atlassian/jira.py | 2 +- docs/jira.rst | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/atlassian/jira.py b/atlassian/jira.py index fc7e9c38b..bd60fb32f 100644 --- a/atlassian/jira.py +++ b/atlassian/jira.py @@ -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 """ diff --git a/docs/jira.rst b/docs/jira.rst index 4038cb907..a8e9cd325 100644 --- a/docs/jira.rst +++ b/docs/jira.rst @@ -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'}