Hi,
Using a form in a Work Management project, I create an issue when the form is submitted.
I would like to copy the comment added to this issue to an existing issue in the project.
The trigger of the automation will be "Issue Created."
I am using a custom field(Select list (single choice)) in the Form and in the issues in the project.
The user submitting the form will select a value from in this custom field, and then I need to search for an existing issue in the project with the same value selected.
Then, I need to copy the comment from the created issue to the existing one and link the created one to the existing one.
It's a bit complicated, but hopefully can be done.
Thanks
Hi @Samuel Bar
That does sound possible. What have you done thus far to solve this need?
If you have started a rule and it is not working as expected...Please post an image of the complete rule, images of the relevant actions, an image of the audit log details showing the rule execution, and explain what is not working as expected.
If you have not yet started the rule, please note that using automation rules requires learning and experimentation. To get you started on creating your rule, please refer to these documentation and example sources:
Kind regards,
Bill
Hi, I am familiar with automation.
I would appreciate it if a sample of this complex rule could be shared.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you break the rule down into pieces, as you have already described, the rule is not too difficult. The only piece you have not yet accounted for is using the Re-fetch Issue action in some key places.
Perhaps the only other thing to consider is: how many issues do you expect to match, and what do you want to do if there is more than one? As shown above, the rule would handle multiple matches.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy ,
Many thanks for your time and help.
I will follow your guides.
There will be only one matching the search JQL.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy ,
I will need your assistances again if passible.
This is my Automation so far
Error in Audit Log
Many thanks in advance for your time and help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Reviewing that error message, we can see that the values in your Lecture List field have embedded spaces, such as for "lecture 2".
And so the JQL for the branch needs to have quotation marks around the smart value to handle that:
project = "Magic Open University"
AND issueType = Lecture
AND key != {{issue.key}}
AND "Lecture List[Dropdown]" = "{{issue.customfield_10914}}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy ,
Many thanks for your time and effort.
Now it's working as expected!!
Thanks,
Samuel Bar
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.