followed all the steps here for generating a bot auht token from the resource below.
However it always says token authentication failed - new to this and cant figure out what I might be missing,
I am on an internally hosted Jira instance and have looked the through the bot scope just in case that was a factor. Any ideas?
After you add the "bot scope" permission and re-install your slack app it will show the required auth key at the top of the slack "OAuth and permissions" page under the heading "Bot User OAuth Access Token"
This token, when added as the Bearer Token in the scriptrunner "Post a message to Slack"/"Post to chat Service" built-in script will cause the built-in script page to reload and then it should show your available slack channels in the "Target room" dropdown.
If you see the built-in script display a loading animation and then immediately say "Token authentication failed!" in the "Target room" dropdown, the reason should be shown in the altassian-jira.log file if you turn on debug level logging as shown here.
One thing to watch out for is if you have your browser set to automatically fill in password and username fields for some websites, this can sometimes replace the token you just entered after the page reloads and then cause the authentication to fail. So make sure you have this disabled or try an incognito browser when you are setting up this built-in script.
I fell over a "bug" in the chrome browser.
I entered the bearer token and after that chrome adds into the project field my saved jira login name and overwrites(!) the bearer token with my saved jira password.
Maybe a bug with the field identifiers? I have no other clue why chrome would do sth like that.
I was not able to get my browsers to auto-fill but I can see the browsers treat the bearer token field as a password field and offers to auto-fill.
I created a feature request here so the developers are aware of the issue and can look into a different method if they feel it works better for users. Feel free to vote if you would like.
It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event