Hi allam trying to follow this document around sending Approvers within Releases an emailHow to send emails Approvers of Jira release using Automation for Jira | Jira and Jira Service Management | Atlassian Supportwhat issue i am facing is that the following error appears
=======================
i am assuming since i dont have browse rights in all projects in my org, i am having this error? would i be correct in that assumption?is there a way to define the URL this further down that i am only asking to browse a specific project rather than all projects within the jira instance/account??
Web request URL: https://sitename/rest/api/3/version/{{version.id}}?expand=approvers
Hello @Anthony Pugliese
In the Rule Details for the Automation Rule, how have you set the Scope for the rule? That is where you define the Projects to which the rule will apply.
yes the scope is specific to my project and this project i am the space admin, iteration manageri have also checked permissions and all users have "browse" permissions on this project
this answers my question about being specific to the project, but doesnt help me understand why the error appears since i have access
Hi @Anthony Pugliese
Does the user for the API token in the rule action have permissions needed for that project / space? If not, please try with a different user's API token.
Kind regards,Bill
I apologize for not getting back to you sooner. I haven't yet had time to investigate this more.
I see you marked my answer as Accepted but I don't feel like I've actually answered your question.
With the rule scoped to a specific project you should not need access to every project. The permissions check would be getting applied to the user for whom the token was generated, where you are using that token in the Send Web Request action. So the next question would be the one posed by @Bill Sheboy about the permissions allocated in the target project for that user.
my rule was scoped to the project so there was no issue running it on all projects
but the problem lied with the token. when i converted it to base64, something was a miss with the copy and outputonce i fixed up the copy error the token and automation worked
token had access, it was due to a copy error
It looks like you're new here. Sign in or register to get started.