Is there any possible way to iterate through a list of comments with smart values to pick and print just the last comment that is not internal in an e-mail when an issue change state in an automation rule?
I've seen that iteration is possible through a for each, and that inside of it, it is also possible to set constraints for something to be printed or not, in the documentation right here: https://support.atlassian.com/jira-software-cloud/docs/smart-values-lists/ . But my problem is about selecting the last element that pass the condition.
Thanks in advance
Hi @[deleted] , welcom on the community :).
I just played with it, but I'm only able to filter out all the public comments and execute an action on each of them. But it would be great to "collect" the results to collection and execute the action on Last element. I will try to ask community leaders.
Sharing the rule (IT IS NOT COMPLETE as described above):
Thanks for your help, you have understood perfectly my problem. And I was at the same point you left the rule but with an e-mail as a notification.
Thanks for your time trying. :)
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.
Yes I've seen that, thats why i know I can check if a comment is internal or not, but that doesnt resolve the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.