How to set admin token in Power Apps
Certain administrative routines in Power Scripts Cloud, especially administrative ones like admGetAllInactiveAccounts , may require an API token for authentication. These routines are typically not accessible directly to standard cloud applications. This guide will help you create and use a Jira API token effectively.
Creating a Jira API Token
To create your Jira API token, follow these steps:
Visit the Atlassian Token Page: Go to the Atlassian API token page.
Generate the Token:
Log in with your Atlassian account if prompted.
Click on the "Create API token" button.
Enter a label for your token (e.g., "Power Scripts").
Click "Create."
Copy the Token:
Once the token is generated, copy it immediately, as you won’t be able to see it again.
Using the Jira API Token
After obtaining your Jira API token, you need to add it along with your email address on the Power Scripts Self-Help page. Here's how to do it:
Access the Power Scripts Self Help Page: Log in to your Jira instance as an administrator. Then, navigate to the Power Scripts Self Help page within your application.
Enter Your Details:
Input your email address.
Paste the copied API token into the appropriate field.
Save the Information: Make sure to save or apply the changes to enable the token.
Once the token is added successfully, a message is displayed on the same page as shown below:
Â