Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Jira Automation issue adding watcher based on custom user picker field

I'm trying to create an automation rule that when a task is moved to a specific status it adds a watcher to the task.  I have a custom user picker field and I've tried many variations of adding the watcher based on the custom field but nothing seems to add the user as a watcher. Here are the different ways I've tried adding a watcher based on the custom field: {{issue.Person Responsible.name}}, {{triggerissue.Person Responsible.accountID}}, {{Person Responsible}}, {{issue.Person Responsible}}, ect. I don't want to type out all of the ways but I've tried variations of these but nothing is working. Any help would be appreciated.Watcher Automation issue.png

1 answer

2 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 26, 2023

Hello @Kasper Ramstafer 

Can you show us a screen image that shows the field from which you are trying to get the user you want to add to Watchers? That would be the "Person Responsible" field, based on your smart values.

Is that a single User Picker field or a multiple User Picker field?

Are you working with a Team Managed project or a Company Managed project?

In my Company Managed project working with a single User Picker field using the equivalent of this works for me:

{{issue.Person Responsible}}

What does your Audit Log show for the rule when you try that?

@Trudy Claspill  The custom field is a single User Picker field and I'm working with a Team Managed project.  I've tried that variation but it hasn't worked.  I am using User Filtering for the field to only have a specific group show when typing in names. The audit log doesn't show an errors it just says no actions were performed. 

After looking at it further it looks like it's acting like the field is empty even though there is a name in the field. To test the field I added the option to send me an email with {{issue.Person Responsible}} in the body but when the email comes in the body is completely blank.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 27, 2023

It is possible that you have specified the field name incorrectly, or there may be more than one custom field in the instance with the same name.

You might want to try the method described in the following document to get the "customfield_#####" identifier for the field and use that instead.

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events