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
Community Members
Community Events
Community Groups

Need REST API for ComponentWatchers

I can manually edit the "Component Watchers" but would like to do this via the API. 

Documentation for the REST API does not appear to have an entry for componentWatchers. 

1 answer had at least a partial answer:

It looks like there is no public Java API, but there is public REST API. I can see, there are two endpoints which accept "project key" as a parameter


Response of both endpoints contains this "section" of data
 $ curl --user 'user:passwd' --noproxy "*" ""
"projectKey": "VLAB",
"projectName": "VLAB",
"component": "00-RH_OpenShift",
"watchers": [
"watcherDatabaseId": "I_VLAB_OPENSHIFT",
"type": "group"

Still need an API to update (PUT) a componentwatcher record. The above is only for a retrieve (GET).

Suggest an answer

Log in or Sign up to answer
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...

125 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you