We are automating Xray Tests with the use of Jira automation. That all works but what we'd like to have happen is when this rule runs completes a Jira bell notification is sent to Jira so the user sees that it has completed. Below is the Jira "Bell" notification icon I am referring to:
We know we can send an email but we'd rather be able to send a Jira notification.
Thank you
@Bob.Fordyou can mark / mention the users to show in the notifications (you can create a comment then delete the last comment)
In a nut shell the rule triggers when a description changes. This is what we are doing in the rule:
When: Value changes for
Description
If: all match
Components equals (in any order): DCIM
Issue Type equals Xray Test
Then: Send web request
And: Add value to the audit log
And: Add comment to issue
Notifying [~{{Bob.Ford}}]
When the rule is triggered I am not seeing a comment added to the Xray Test which was modified.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When: Value changes for
Description
If: all match
Components equals (in any order): DCIM
Issue Type equals Xray Test
Then: Add comment to issue
[~accountId:{{assignee.accountId}}]
Try this,
And are you enable to send to you auto changes ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Carlos Faddul please forgive this simplistic question. How can I find the assignee.accountID?
Thank you for the assistance thus far. I am very greatful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bob.Ford this is a smart values from automation.
[~accountId:{{assignee.accountId}} -> to mark the assignee of the issue on a comment for an example.
You can user another custom fields of users to make this first link
And the second link, maybe help you to use others fields using more smart values by reference then by user name :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Carlos Faddul this is what sort of is working for me
[~accountId:{{user field name.accountId}}]
Example:
[~accountId:5e4babe23011ed0c8f8acde1]
This will add a notification but does not "ring" the bell. What I mean by ringing the bell is showing the red circle letting me know there is a notification. Without the highlighted notification it isn't much better than not adding in a comment at all.
Also you mentioned to add a comment then delete the newly added comment. The only delete comment I see requires a comment ID which I would have no way of knowing. Any suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bob.Ford see in this video.
https://www.youtube.com/watch?v=9ERqaPmzi0M
I just recorded this video, I believe it will help a lot.
The automation trigger instead of manual, you can use "Comment issue" and use this conditional that I showed only with the user who triggered the automation (in this case it would be interesting to put more conditions, like "add a label and if it has this label in issue, remove the comment (so you just need to add a few more steps, like edit fields, remove the label))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for the lag between you last post and my follow up. With all your wonderful help @Carlos Faddul I have the following working:
[~accountId:{{initiator.accountId}}] The validation process was started at {{now}}
Then once completed I do:
[~accountId:{{initiator.accountId}}] The validation process was completed at {{now}}
Only issue I've found with this is that during testing it would not add additional comments as it would say "No new comment was added since this issue has been commented on before"
I don't think that would be a huge issue after being rolled out to a production project as I don't see this rule being triggered for the same ticket multiple times. But if there is a work around for this I'd be all ears. Otherwise you have gone above my expectations.
Thank you very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bob.Ford i am glady to helped you.
If this post was helpful, mark it as Accepted Answer, so you can help others who may have the same difficulties.
If your question has not been resolved, please post again with more details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.