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

Can't add watchers in Jira Automation rules

Leon Gumba
Contributor
May 10, 2024

I have successfully set up a Jira Automation rule that creates an issue in my project every month on the 26th. The automation rule works correctly and creates the issue as scheduled.

However, I encounter a problem when I try to extend the rule to add a watcher to the newly created issue. After adding the "Manage watchers" action to the rule, I receive the following error:

"The rule has been configured with components that require issues to be provided by the trigger. You need to use the option to run JQL to provide issues. The following components require issues: Manage watchers"

Here's how my rule is configured:

  1. Trigger: Scheduled to run every month on the 26th at 7:00 AM.
  2. Action: Create an issue.
  3. Next Action: Manage watchers (where I try to add a specific watcher).

Can someone please tell me what's the problem here?

Screenshot 2024-05-10 184118.png

3 answers

1 accepted

3 votes
Answer accepted
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.
May 10, 2024

Hi @Leon Gumba 

That error message is the hint that the manage watchers action cannot "see" your new issue.  To fix that, please add a branch to the most recently created issue:

  • trigger: scheduled
  • action: create issue
  • branch: to most recently created issue
    • action: manage watchers

Kind regards,
Bill

Leon Gumba
Contributor
May 13, 2024

Thank you @Bill Sheboy !!!

I have run a test, and your suggestion resolved the issue.

Now I can add watchers with this rule setup:

Screenshot 2024-05-13 122450.png

Like Bill Sheboy likes this
0 votes
samar_shah
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 10, 2024

Hi mate, I would check if these three global permissions are enabled:

1- Link Issues

2- Add Watchers

3- Time Tracking

 

Other than this I would make sure they have the the global Browse Users/Groups permissions and also Browse permissions for that specific project.

(https://confluence.atlassian.com/jirakb/jira-user-cannot-add-watchers-to-an-issue-390496933.html)

0 votes
Fadoua
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 10, 2024

@Leon Gumba 

From the error I can see it is complaining about the permission scheme on your project.

Please make sure that your watchers have the right permission to the project you are running the Automation for.

Let me know if you have any other questions.

Best,

Fadoua

Leon Gumba
Contributor
May 10, 2024

@Fadoua 

Thank you for the response.

I have tested this on both team-managed and company-managed projects and permissions are fine on both projects. And I've received this error both times.

What else can it be?

Fadoua
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 10, 2024

How about the components? it seems like your automation is requesting a JQL in order to work properly.

Did you try it?

 

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