...
To configure the Atlassian OAuth 2.0 functionality:
Set the permissions
Set the bot end point
Retrieve Client ID and secret
Update Kbot configuration
Add an application in Kbot
As the result, registered users will be able to access the virtual assistant with their Jira credentials:
...
Setting the permissions
1. Open the Atlassian Developer Console.
...
3. In the Authentication details area, copy Client ID and Secret. You need these values to modify your Kbot configuration.
...
Updating your Kbot configuration
Make sure that your kbot.conf
includes the following:
Code Block |
---|
jira_oauth2_client_id = <client ID>
jira_oauth2_client_secret = <secret>
jira_oauth2_scope = read:me offline_access read:servicedesk-request write:servicedesk-request
jira_oauth2_user_name_attribute = account_id |
Adding an application in Kbot
1. On your Kbot host, go to Configuration > Applications.
2. Find an application you want to provide with the Atlassian OAuth 2.0 functionality and click Modify.
3. Select Log in with Jira (Cloud) from the list of providers.
4. Click Save.
...
What’s next?
Now registered users can access your virtual assistant with their Jira credentials. If they are associated with multiple sites, they are offered to select one from the list.
...