As per the comment.
JIRA Cloud Automation for JIRA forces the rule actor to be Automation app user, however, it's unclear where the permissions (or the account) exists for Automation app user.
My many slack notifications send 'functional' links that ask you to log in when you click them, but you can't give permissions (it just brings you back to the same page) because the Automation app user doesn't have an account, and you cannot use any other account.
Anyone else figured out where / how to enabled the links to work (that is, how do I give the rule actor permissions to at least Open the alert links I am sending?)
I've been able to solve this with Atlassian's help. The issue is related to SMART VALUES.
I was using the example structure for the message found on the Automation for Jira site - however, the smart values are...smart, and I didn't understand what it was actually doing.
Instead of using {{issue.key}} (with a base URL before it), I need to be using {{issue.url}} and not forcing the instance URL.
So, there were two problems, slack messages were trying to access the wrong instance of jira (wrong URL), and it was using a valid but not as useful (in my scenario) smart value.
If you see this, replace the whole baseurl{{issue.key}} thing with just {{issue.url}}in the message payload, and it should send valid links.
Thanks Atlassian!
Small self-update. I'm working with Atlassian Support, it appears there is a permission granted to groups that has something to do with why this occurs.
It's still not functioning as expected for me, but if you're reading this and are seeing the same thing(s), check out the atlassian-addon-browse-project permission. It should apparently be granted to the administrators group, which I think means that Atlassian Addons would have admin powers.
I'll update my thread again when this is solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This was a red herring. Just use {{issue.url}} (only that) as part of the message payload instead of using <baseurl>{{issue.key}}|{{issue.key}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.