We are using JIRA 7.3.6 Data Center Edition. We have a Service Desk project set up. We have configured a Hipchat Integration between this project and a Hipchat room.
We want to post a message in the Hipchat room when the last comment entered on the issue is authored by a specific user. We are using the Adaptivist Scriptrunner code in our JQL thus:
issueFunction in lastComment("by cloudplatform")
The "cloudplatform" user is currently posting an Internal comment on the issues. We want the Hipchat notification to occur just when that comment is made.
The Hipchat notification is occurring when that comment is made. However, it also occurs again when another comment is added - a customer-visible comment. That should not be happening since that new, last comment is not authored by "cloudplatform".
Has anybody else run into this issue? I haven't found any reports of it in my searches through google.