I am trying to use below solution to remove the person that creates the ConfiForm as a watcher, but is not working for me. I set it up exactly as indicated. I also want to know if there is a way to 'replace' a watcher with a user given in the form.
https://wiki.vertuna.com/display/CONFIFORMS/Handling+Confluence+auto-watch+when+the+form+has+file+fields
The question is actually about ConfiForms for Confluence, not Jira as the metadata says...
Hard to tell what you are doing wrong, but you need to have 2 of this kind IFTTTs - one to remove the current user as a watcher and another to add another user from your form's field as a watch. This field needs to hold the username of the user you want to add as a page watcher
Thank you Alex,
So, there is no way a ConfiForm can change the default Watcher in "JIRA", not in Confluence?
I am trying to do change that default watcher with the username of another person that is input in a field in the form.
Well, the IFTTT you are referring to is the one the manages page watchers in Confluence. It has nothing to do with Jira issue watchers
What you need is to setup IFTTTs to call this API https://docs.atlassian.com/software/jira/docs/api/REST/8.9.0/#api/2/issue-removeWatcher
Could be through applink service IFTTT or via a web service request if you prefer to use service accounts to communicate with your Jira
Thanks Alex,
so, should I add: DELETE /rest/api/2/issue/{issueIdOrKey}/watchers
to the field: Fire IFTTT action only when this condition/filter is met in the
It looks like you're new here. Sign in or register to get started.