Hello All,
I am looking for some help to create an automation rule to update historic tickets, where my custom field "Last comment DateTime" gets updated with the last comment date and time from historic tickets, one condition is there is one jira user group, the comment should not be from any members of that group.
Can you help me with this please?
Thanks!
Hello @Leena Siddamshetty
For how many issues do you need to execute this action?
You could do something like this:
However, there are limits to how many issues can be processed in a Scheduled trigger. It would not be able to process more than 1000 issues each run. So you might need to refine your JQL within the trigger to ensure you don't get more than 1000 issues, and then run the rule multiple times, updating the JQL for each run.
Hi Trudy,
Thank you for response. I have created my rule as below and it works fine, my ask for help is to include condition "there is one jira user group, the comment should not be from any members of that group."
If comment is from any member of that Jira group, it should not be counted in the comment count. How do we achieve that? Any suggestions in that please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Short answer: because solutions for this are complicated and risky, perhaps consider ignoring the historical issues and only set the "Last Comment DateTime" field for newly added comments.
To do what you ask, the rule would need to:
That cannot be done with basic iteration because the group members would not be visible inside of the iterator for filtering. This is a known limitation of rule iterators.
Theoretically there are four, equally challenging ways to solve this. Each has limitations that may prevent this from working.
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.
Hi Trudy,
Thank you for response. I have created my rule as below and it works fine, my ask for help is to include condition "there is one jira user group, the comment should not be from any members of that group."
If comment is from any member of that Jira group, it should not be counted in the comment count. How do we achieve that? Any suggestions in that please?
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.