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:
Can someone please tell me what's the problem here?
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:
Kind regards,
Bill
Thank you @Bill Sheboy !!!
I have run a test, and your suggestion resolved the issue.
Now I can add watchers with this rule setup:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How about the components? it seems like your automation is requesting a JQL in order to work properly.
Did you try it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.