Forums

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

Setting up watchers automaticlly

Deleted user March 14, 2012

We have a situation where we are using the Go2Group SFDC connector into JIRA. Our TAC (Support folks) to dot have access to create or edit issues in JIRA only view. So when a SFDC case is linked up to a new JIRA case the reporter is a default user. Without giving our TAC team all create rights is there a way that we can automaticllly set the user as a watcher in JIRA? We get the username from a custom field in the issue. My assumption is that we cannot but I wanted to ask the group anyway.

The solution I did have was to install a Tomcat server on the JIRA server and install the JIRA CLI tool. Build a servlet that takes certain calls and in turn executes the JIRA CLI with those calls. In this case when SFDC createas a JIRA ticket using the connectors URL it will then also call this Tomcat server passing userid and issue number. The servlet will then call the addWatchers CLI to add that user to the issue as a watcher. Will this work or is there a simplier way to achive this?


Thanks

4 answers

1 accepted

0 votes
Answer accepted
Deleted user October 25, 2012

When we upgraded to JIRA 5 this feature was built it. This is no longer an issue I'm trying to solve. Thanks for the feedback.

1 vote
Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2012
Do you really need the user to be on the watcher list? If you just added the user custom field you already have to the projects notification scheme, this user would get notifications as well.
Deleted user March 15, 2012

The problem is this user does not have authority to create the issue so they are neither the reporter or the assignee. That is why I need to add them to the watcher list.

Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2012
I understand but you could also add the browse permission to this user custom field. That should be sufficient to make the issue visible to the user ... And if it is visible thevuser will also get notifications about the issue
0 votes
Michael Rainwater August 14, 2012

I think you might be solving the wrong problem. You may not need to make your team "watchers" at all. Simply put the people you in a "notify-me" group (or any name you want). Then, modify your notification to always send updates to that group.

The team will get updates and will not even have to be watchers on each issue.

0 votes
Devu Heda
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2012
  1. If there is a predefined list of users or user alias send an email to them as a post functional call using scriptiing like groovy etc
  2. Add an email alias as the lead and this alias can have all the users from the TAC and other teams that needs to be notified on the issue creation and transitions

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events