Registered users can access the virtual assistant with their Jira credentials. This page describes how to add such a button for enable such functionality in your Koji.
Table of Contents | ||||
---|---|---|---|---|
|
...
To configure the Atlassian OAuth 2.0 functionality:
Set the permissions in Jira
Set the bot end point
Retrieve Client ID and secret
Update Kbot configuration
...
Configure 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. Click Permissions on the left side of the window. Now you can view the list of permissions, add and configure them.
...
4. Add and configure the following permissions:
...
2. Click Configure.
...
3. In the Callback URL field, enter the URL of the following type:
https://your-kjira-instance.konverso.ai/oauth2/jira/callback/
Tip |
---|
Make sure to change the |
...
Retrieving Client ID and secret
...
2. In the General settings area, set enter the app name, set the avatar, and add the description.
...
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 the configuration file conf\kbot.conf
on your host includes the following lines:
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 |
Configuring 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.
...