Hi community!
In Jira smart values there is an example to get author and date of comments
{{#issue.comments}} Comment by: {{author.displayName}} at: {{created}} {{body}} {{/}}
is there any way to mark issue in automation rule with manual start, if there is comment by specific user added in specific dates?
Hello @Chasovskikh Kirill
I haven't tried this out but it could potentially work. It's a combination of itarating through a list and doing an if check on author,displayname and created date.
{{#issue.comments}}
{{if(and((equals(issue.author.displayName, "<Username>"),(equals(issue.created,"<Date>"))))}}
Comment by: {{issue.author.displayName}} at: {{issue.created}} {{issue.body}}
{{/}}
{{/}}
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-conditional-logic/
Hi @Chasovskikh Kirill - I'd need a bit more context on the rule, but yes this should be possible:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mark Segall !
Thank you for reply.
I mean - I need to create a rule, that have manual start.
For example at friday I need to mark all issues, which i have commented for previous week
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think you'll be able to do this in that way. You probably want to do something like this:
Create a custom date field with a name like "Last Comment Date"
Then set up an automation rule to populate it whenever you make a comment. Something like this:
From here, you can set up a filter/subscription to see all issues with comments for the past week:
"Last Comment Date" >= -7d
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.