Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create an account

In order to use access the REST APIs, you need to create a Requirement Yogi account:

...

Link an Atlassian account

In order to use access the REST APIs, you need to link an Atlassian account to your Requirement Yogi account:

...

  • Go to https://app.requirementyogi.com.

  • Log in to your Requirement Yogi account.

  • In the top navigation bar, click the profile button.

  • Navigate to Settings.

  • In the left sidebar, navigate to “Linked accounts”.

  • Click the Unlink button.

Reset the

...

accessible Atlassian sites

We retrieve authorized accessible Atlassian sites from the Atlassian REST API.

If you need to reset the authorized accessible Atlassian sites:

  • Go to https://id.atlassian.com.

  • Log in to your Atlassian account.

  • In the top navigation bar, click the profile button.

  • Navigate to Account settings.

  • In the top navigation bar, navigate to Connected apps.

  • Locate the Requirement Yogi integration app.

  • Click the Remove access button.

Get an access token

In order to use access the REST APIs, you need an access token.

...

  • If the request is successful, you will receive an access token and a refresh tokena response that looks like this:

Code Block
languagejson
{
    "access_token": "YOUR_ACCESS_TOKEN",
    "expires_in": 300,
    "refresh_expires_in": 1800,
    "refresh_token": "YOUR_REFRESH_TOKEN",
    "token_type": "Bearer",
    "not-before-policy": 0,
    "session_state": "f4c9edf6-855c-4493-9da8-d0939269d0f5",
    "scope": "email profile"
}

Refresh the tokens

...

  • The response should contain:

    • access_token: the access token.

    • expires_in: the expiration delay of the access token (in seconds).

    • refresh_token: the refresh token.

    • refresh_expires_in: the expiration delay of the refresh token (in seconds).

Refresh the access token

When the access token expires, you can use the refresh token to obtain a new access token:

...

  • If the request is successful, you will receive a new access token and a new refresh tokenresponse that looks like this:

Code Block
{
    "access_token": "YOUR_NEW_ACCESS_TOKEN",
    "expires_in": 300,
    "refresh_expires_in": 1800,
    "refresh_token": "YOUR_NEW_REFRESH_TOKEN",
    "token_type": "Bearer",
    "not-before-policy": 0,
    "session_state": "3b2a9f95-1521-4cf8-a3ac-36e1aa01c36c",
    "scope": "email profile"
}
  • The response should contain:

    • access_token: the new access token.

    • expires_in: the expiration delay of the new access token (in seconds).

    • refresh_token: the new refresh token.

    • refresh_expires_in: the expiration delay of the new refresh token (in seconds).

  • If the refresh token has expired, you need to request a new access token using your credentials again.

...