Didn't find a Duplicate Issue for this and the notifiyUsers = False parameter was added in September 2016.
Docs:
https://jira.atlassian.com/browse/JRA-34423
http://jira.readthedocs.io/en/master/examples.html
I need to add labels to about 1700 tickets in our system. Sending out notification emails for that many tickets at once would be... politically unfavorable.
I can update the labels using the jira-python library, but when I set notify=False it returns an error. Working Code:
from jira import JIRA
host = "http://<site>.atlassian.net"
jira = JIRA(host,basic_auth=(<user>, <password>))
issue = jira.issue('ABC-1234')
issue.fields.labels.append(u'New_Label')
issue.update(fields={"labels": issue.fields.labels})
Changing the last line to:
issue.update(notify=False, fields={"labels": issue.fields.labels})
Results in error:
JIRAError: JiraError HTTP 400 url:
Python 3.5.2
Jupyter Notebook
Updated the Jira library using pip this morning
Jira Cloud version 1000.844.1