Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Email alerts always sended

beta

I've set in my profile the "Receive email alerts" to No.

The emails are always sended.

PS I use the scheduler.

lomi
· 1
lomi
Replies (7)
helpful
0
not helpful

Please make sure that you are not watching issues.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

yes, I'm sure


lomi
· 1
lomi
helpful
0
not helpful

So you have no issues another "My Watched Issues"? What alerts are you receiving?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

1) no issue on watched

2) assigned resource


lomi
· 1
lomi
helpful
0
not helpful

Is it you who is the assigned resource? do you have auto alert for issue resource on?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

1) no

2) yes


lomi
· 1
lomi
helpful
0
not helpful

Ok, thanks got it now.

Please run the following sql to update a strored procedure to fix the issue:

/*******************

* geminigetusersforissuealert

*********************************************************/

IF EXISTS(SELECT name FROM sysobjects WHERE name='geminigetusersforissuealert')

DROP PROCEDURE geminigetusersforissuealert

go

CREATE PROCEDURE geminigetusersforissuealert

@projectid NUMERIC(10,0),

@issueid NUMERIC(10,0)

as

begin

-- issue watchers

SELECT userid,1024 AS watchcode

into #temp1

FROM geminiwatchissues WHERE projectid=@projectid AND issueid=@issueid

AND userid not in (SELECT userid FROM geminiusersettings WHERE sname=N'ReceiveEmailAlerts' AND svalue=N'N')

-- project watchers

SELECT userid,watchcode

into #temp2

FROM geminiwatchproject WHERE projectid=@projectid AND userid not in (SELECT userid FROM #temp1)

AND userid not in (SELECT userid FROM geminiusersettings WHERE sname=N'ReceiveEmailAlerts' AND svalue=N'N')

SELECT a.userid,a.watchcode,b.emailaddress

into #temp3

FROM #temp1 a, geminiusers b WHERE a.userid=b.userid

UNION ALL

SELECT a.userid,a.watchcode,b.emailaddress FROM #temp2 a, geminiusers b WHERE a.userid=b.userid

SELECT a.userid,a.watchcode,a.emailaddress,ISNULL(b.svalue,N'H') AS emailformat,ISNULL(c.svalue,N'Y') AS emailmyself

FROM #temp3 a

LEFT OUTER JOIN (SELECT userid,svalue FROM geminiusersettings WHERE sname=N'EmailFormat') b on b.userid=a.userid

LEFT OUTER JOIN (SELECT userid,svalue FROM geminiusersettings WHERE sname=N'EmailMyChanges') c on c.userid=a.userid

end

go


Saar Cohen
· 5000
Saar Cohen