How to set admin token in Power Apps

Certain administrative routines in Power Scripts Cloud, especially administrative ones like https://appfire.atlassian.net/wiki/spaces/PSJC/pages/720637556 , 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:

  1. Visit the Atlassian Token Page: Go to the Atlassian API token page.

  2. 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."

  3. 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:

  1. 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.

    2024-06-10_08-13-58-20240610-024428.png

  2. Enter Your Details:

    • Input your email address.

    • Paste the copied API token into the appropriate field.

      2024-06-10_08-18-34-20240610-024849.png

  3. 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:

Â