Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira sent and notification email that a user added a comment whereas no comment has been added Edited

Hi all,

I am using an escalation service so that check the ticket and comment a message if the query checking result be ok.

 

 for example, I am using following JQL Query in Escalation service:

project=MYP AND status = TEST AND myfield is EMPTY

and CRON expression is as following:

0 35 20 * * ?

then action is running following groovy expression commenting message "Dear friend [~$assignee] \please fullfill the myfield":

(issueInputParameters.skipScreenCheck()
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.user.ApplicationUser
def commentManager = ComponentAccessor.getCommentManager()
def user = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()
def assignee = issue.getAssigneeUser().getName()
commentManager.create(issue, user, "Dear friend [~$assignee] \please fullfill the myfield", true))

 

if the query result be positive for a ticket (the myfield be empty), the message has been commented in the related tickets and a notification email has been sent in the CRON expression time (20:35 every day), but if the user fulfill the myfield, in the next run time of CRON expression the query result will be negative and there is no commented in the related tickets but still a same notification email will be sent which notify that the message has been commented whereas there is no new comment.

 How is it possible that a comment notification will be send by Email whereas there is no new comment in the ticket?. Even I disable the escalation services and still the email has been sent in the CRON expression time (20:35 every day) so that a user has been commented a message!!!!.

Any advise will be so appreciated. Many thanks. Regards.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you