Add a request participant from the Watcher/CC field from customer portal

Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 13, 2024

Hey all!

I am creating an automation rule in the JSM project and here is my goal: Whenever a customer raises a request and they add someone to the Watcher/CC field, they need to be added as a request participant automatically.

 

Screenshot 2024-05-13 at 09.27.58.png

When I test this and indeed add myself to the Watcher/CC field on the customer side, the request participant is not filled. Am I missing something?

2 answers

1 accepted

2 votes
Answer accepted
Kai Becker
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 13, 2024

Hi @Nikola Perisic 

could you give a little bit more detail on the fields?

  • What type of field is the Watcher / CC? Text, User picker? Multi or single user?
  • How do you edit the Request participants? Add new values? Set field to value from Watcher / CC?

Does the participants field change in any way? For example will everything be cleared after running the rule? Is there any error in the audit log?

Usually I would say it's something related to content mismatch. 

Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 13, 2024

Hello @Kai Becker 

  • This is a user pick custom field - single user
  • Right now, editing needs to be added from the value of Watcher/CC which is actually been set 

Screenshot 2024-05-13 at 09.52.04.png

From the logs, it saying that the condition is not matching. 

Kai Becker
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 13, 2024

Thanks for the update. If the condition is not matching, it could be a timing issue.
You could try to re-fetch Issue data as action, before the condition.

As there are two conditions, which one fails?

Type Email Requests might be a problem, as I think it is the fallback for emails sent to the mail handler and might not be available in the portal?

Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 13, 2024

No problem, I've managed to fix the issue, I had a double automation that was doing the similar things. I believe when you have automation rules to do the same thing, one will work, one won't? 

Thanks for help @Kai Becker 

 

Like Kai Becker likes this
Kai Becker
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 13, 2024

@Nikola Perisic yeah could be. probably some sort of first come first serve issue.

Glad you figured it out :)

1 vote
Pavol Gočal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2024

Hello @Nikola Perisic ,

as @Kai Becker is already helping you with automation, I would suggest a different solution for this problem.

You might consider digging into issue workflows and use "Set issue field" post-function on "Create" transition.

In "Set issue field", you can check if the "Watchers" field has value. If so, you can then set "Request participants" with values from "Watchers" fields.

 

Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 13, 2024

Hi @Pavol Gočal 

Thanks for the recommendation, however we wanted to accomplish this goal using the automation rule.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events