Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add ticket watchers by default on Jira SD tickets

Daniel Olivares
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 26, 2019

Hi, everyone,

 

I need to add a rule to add a specific watcher everytime a ticket opened by a specific customer. Is this possible?

Thanks

1 answer

0 votes
Thomas Deiler
Community Champion
July 27, 2019

Dear @Daniel Olivares ,

unfortunately not out of the box - but with webhooks.

Create a custom automation rule:

WHEN: Issue created

IF: Issue matches: reporter = <your customer>

THEN: Trigger Webhook URL: ...

The URL has to point to a script that calls the following REST method:

POST /rest/api/2/issue/{issueIdOrKey}/watchers  {"watcher"}

You have to call this function for each watcher you want to add.

So long

Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events