Forums

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

Problems setting Watchers from Custom User Picker

Nigel Haycock November 2, 2023

Hi
I'm having a similar issue that others have and tried several iterations based on various threads on this forum. but still cannot get it to work 
We have custom field in our project Called 'ONB Tech Lead' which is a People field.  I want whoever is added to that field to be automatically added as a watcher.  Current iteration uses {{issue.ONB Tech Lead}} as the field but have tried {{issue.ONB Tech Lead.Name}}, {{issue.ONB Tech Lead.displayName}}, {{issue.field.ONB Tech Lead.accountId}} and maybe a few others.  

When I test adding a person to the field, I see that the rules runs successfully but Action Details say "No actions were performed."

Note this is a Team Managed Project

Screenshot of rule and the field itself

Add Tech Lead.png

8 answers

2 votes
Murat Seven
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.
November 2, 2023

Hi @Nigel Haycock , thanks for your question.

 

I did the automation in my instance like this and it worked. Can you try it this way? If the problem persists, please let me know.

Screen Shot 2023-11-03 at 12.49.46 AM.png

Hope this helps,

Kind regards

1 vote
Nigel Haycock November 2, 2023

Yes!!!!!
It worked!  Thank You Murat!

1 vote
Murat Seven
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.
November 2, 2023

Nigel, this is not correct format :) 

 

Go to the custom field page in Jira and enter your field name(ONB Tech Lead). Click on the 'Edit' option from the 'More' section next to the field name, and copy the value written in the URL in the screenshot. Paste this value in the 'customfield_xxxxx' part, replacing the 'xxxxx'. For example, like customfield_10068Screen Shot 2023-11-03 at 1.49.32 AM.pngScreen Shot 2023-11-03 at 1.45.37 AM.png

1 vote
Murat Seven
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.
November 2, 2023

Please try {{issue.fields.customfield_xxxxx.accountId}}
instead of {{issue.fields.ONB Tech Lead.accountId}}

Hope this helps, you can vote for this comment. If the problem persists, please let me know.

 

Kind regards,

Murat Seven

0 votes
Murat Seven
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.
November 2, 2023

I'm glad I could help.

Best

0 votes
Nigel Haycock November 2, 2023

Still getting the same No actions were performed.

Add Tech Lead3.png
 

0 votes
Nigel Haycock November 2, 2023

Wondering if the space in the field name breaks something but then I'd expect the rule itself to fail/error

0 votes
Nigel Haycock November 2, 2023

Thanks Murat
I assume you mean for me to replace customfield_10068' with my custom field?

I get the same result; No Actions Performed.

Here's the rule now...
Add Tech Lead2.png

Did I miss something?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events