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.
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
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
No sir, not at all..
The parameter you mentioned ("Fire IFTTT action only when this condition/filter is met ") tells ConfiForms WHEN the IFTTT needs to be executed
What I was talking about are these 2 options
With give IFTTTs you can setup whatever request you need to make.
Any API can be called through the applink service
Take a look at the API that removes the watcher from a Jira issue itself https://docs.atlassian.com/software/jira/docs/api/REST/8.5.9/#api/2/issue-removeWatcher
It looks like it doe snot support the list of watchers
Here is your answer
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