Skip to content

Commit 1fbf27d

Browse files
committed
Revert "add notify users flag to create issue (#912)" (#915)
This reverts commit ec4eeff.
1 parent b280b5a commit 1fbf27d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

atlassian/jira.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,15 +1092,14 @@ def assign_issue(self, issue, account_id=None):
10921092
data = {"name": account_id}
10931093
return self.put(url, data=data)
10941094

1095-
def create_issue(self, fields, update_history=False, update=None, notify_users=True):
1095+
def create_issue(self, fields, update_history=False, update=None):
10961096
"""
10971097
Creates an issue or a sub-task from a JSON representation
10981098
:param fields: JSON data
10991099
mandatory keys are issuetype, summary and project
11001100
:param update: JSON data
11011101
Use it to link issues or update worklog
11021102
:param update_history: bool (if true then the user's project history is updated)
1103-
:param notify_users: bool, if true then send notifications, else do not.
11041103
:return:
11051104
example:
11061105
fields = dict(summary='Into The Night',
@@ -1126,11 +1125,6 @@ def create_issue(self, fields, update_history=False, update=None, notify_users=T
11261125
data["update"] = update
11271126
params = {}
11281127

1129-
if notify_users is True:
1130-
params["notifyUsers"] = "true"
1131-
else:
1132-
params["notifyUsers"] = "false"
1133-
11341128
if update_history is True:
11351129
params["updateHistory"] = "true"
11361130
else:

0 commit comments

Comments
 (0)