Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,070
Community Members
 
Community Events
168
Community Groups

REST API - Create issue with no watcher

When using the REST API to create issues, I am always set as a watcher, just by virtue of being the one who created the issue. When mass creating issues for other people, I end up being a watcher for a huge number of issues I have no interest in.

I know how to use the REST API to remove myself or anyone else from being a watcher from an issue that has already has been created, but that's double handling.

Is there a way to create an issue with no watcher at the outset?

1 answer

1 accepted

3 votes
Answer accepted

I've found the answer; well the cause of the problem anyhow.

The reason why I was being added as a watcher to all the issues I created was that in my profile / preferences, Autowatch was inheriting its setting globally, which was turned on.

Autowatch.PNG

When I disabled it, all the issues I created didn't have me as a watcher :)

Wow, thanks for answering your own question after you figured it out.  So many folks don't bother. 

I have a "service" user that creates tickets via REST and wanted to prevent it from being a watcher.    This totally worked.

Yes WOW!  Thanks for this nugget of intel.  Super mind blowing and kind of a D'oh moment too.

I still run our custom copy operation with a 'service' account like Larry otherwise people see my name under 'reporter' and assume I have ownership of the issue and then contact me. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

5,096 views 18 33
Read article

Atlassian Community Events