I am looking to create an automation rule which counts all the comments on a story that have a matching expression in them and input the total number into a field in JIRA .Can anybody help me with that?
Hi @Kunal Kumar
For a question like this, context is important for the community to help. Please post the following:
* an image of your complete automation rule in a single image,
* images of any relevant actions / conditions / branches,
* an image of the audit log details showing the rule execution, and
* explain what is not working as expected and why you believe that to be the case.
Until we see those...
Have you tried using a regular expression with the match() function to do this? https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#match--
With that approach, the number of matches could be counted using the list size function: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/#list.size
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.