Hi Team,
Can anyone help me with jira automation, please?
We are copying comments from one project to another based on issue linking. This is working fine, but now the user wants to update the edit comment on the linked ticket too. Tried creating new automation by selecting the edit comment and selected the required events and, on the last event, chose the edit comment and with in it selected the trigger comment from drop down and used the current comment with in the comment body using smart valued.
This is not working, getting an error as No comment with given ID found for the issue
I'm I missing something in automation, please help.
Short answer: this may not be possible with an automation rule. To learn why, please continue reading...
Longer answer:
Your solution approach is apparently copying comments from one issue to its linked issues. Assuming the creation of new comments is working, the challenge is updating the comments in the linked issues when they change in the trigger issue.
To do that, the correct comment in the linked issue must be found to support the edit. That requires using the action's option:
The rule would need to assume:
If those assumptions are valid, the changelog from the trigger issue's comment change would need to be used to find the comment id in the linked issue, and then used in the "comment smart value" field.
But that find is likely not possible: the changelog appears to be unavailable for comment changes, and even if it was available, it may not be possible to find the id in the linked issue's comments. Smart value list filtering will not work, due to scoping limitations of iterators. Theoretically, one could expand all comment data into a created variable and use the match() function and text functions to extract the id. I hypothesize that would run into some rule limits for processing / searching on a very large, variable text string.
Kind regards,
Bill
Hi @Rajesh Konda ,
Please refer to the ticket : https://community.atlassian.com/t5/Jira-Service-Management/Automation-for-copying-comments/qaq-p/2407035 ,
Hope this solves your problem
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @GNarsimhagowda - Empyra Thanks for the response, currently my automation is running for copying comment between the projects. The one which i mentioned was about edited comments. When a user edited his comment it should update on other linked ticket, this is not happening after adding the edit comment event.
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.