Hello Eveyone,
I am currently in the process of developing a custom Webex bot to create user stories in Jira. However, I am facing some difficulties in finding the appropriate location in Jira to grant access to my Webex bot API token and authenticate the bot. I would greatly appreciate your assistance in this matter. Thank you in advance for your help.
Hi @skunkeka and welcome,
please take a look to the following doc https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
First of all, you need to create a user for your bot, grant permission at product and then browse/create issue at project level. Then you need to create an API token for that user
API tokens with an infinite lifespan pose a data security risk. To improve data security, by default we set API tokens to expire in one year. When you create an API token, you can set the expiration date to be from 1 day up to one year.
Create an API token from your Atlassian account:
Log in to https://id.atlassian.com/manage-profile/security/api-tokens.
Select Create API token.
Give your API token a name that describes what it does.
Select an expiration date for the API token.
Token expiration is 1 to 365 days.
Select Create.
Select Copy to clipboard, then paste the token to your script, or save it somewhere safe.
You can't recover the API token after you’re done with this step. We recommend you save your API token in a password manager.
Finally, you can authenticate your user using the following approach https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/
Hope this helps,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.