Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add user as watcher

Mikołaj March 18, 2025

Hi guys!

I cannot find the answer in topics so maybe you will help me. 

Im looking for specific type of automation. So what i try to achieve is: when I fill in "Frontend" field with user this user automatically become watcher of the task. 

My issue is that at "Manage watchers" component i can only point specific user instead of something like "user added to the field". 

Thx for help!

1 answer

1 accepted

1 vote
Answer accepted
Prachi Bolar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 18, 2025

Hello Mikolaj,

Welcome to community :) 

You can maybe try something like below add the smart value of the field and see if the user in the frontend field gets added as the wtacher 

 

Screenshot 2025-03-18 at 7.23.58 PM.png

 

Thank You,

prachi

Bill Sheboy
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.
March 18, 2025

Hi @Mikołaj -- Welcome to the Atlassian Community!

First, to identify the smart value (or custom field ID) for your field, please use this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Next, to use a smart value expression in actions like Manage Watchers, it is not always obvious that the expression may be used.  To do this:

  • in the field, type in (or copy-and-paste in) the value
  • the expression will appear below the field
  • when it does, select it; now it will be used as the value

Kind regards,
Bill

Like Mikołaj likes this
Mikołaj March 19, 2025

Thank you @Prachi Bolarfor your help. Unfortunately smart value that you provide doesn't work. I will try to understand on my own how smart values works as @Bill Sheboy suggest (also thanks!). But if you will have any other ideas feel free to share :)

Have a nice day guys!

MNN

Prachi Bolar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 19, 2025

Thank you Mikolaj :)

The smart value that i tested was as per the custom field that i used.

So say the field frontend

you can try {{issue.customfield_id}}

the id of the custom field can be got by this method : https://confluence.atlassian.com/jirakb/find-my-custom-field-id-number-in-jira-744522503.html

Please try this and let us know if you get any errors 

Thank You,

Prachi

Mikołaj March 19, 2025

It worked! I checked exact custom field id and everything went well. Thanks for help, you are the boss :) 

Like Prachi Bolar likes this
Prachi Bolar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 19, 2025

hehe thank you Mikolaj :) 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events