RAJ - Rally Adapter for Jira - Creating a token for Rally Adapter for Jira Dashboard Apps
search cancel

RAJ - Rally Adapter for Jira - Creating a token for Rally Adapter for Jira Dashboard Apps

book

Article ID: 240841

calendar_today

Updated On:

Products

Rally SaaS Rally On-Premise

Issue/Introduction

This article describes how to set up the calls to generate a token for use in the Rally Adapter for Jira (RAJ) Dashboard Apps.

Environment

Component : Jira Adapter

Resolution

These requests will use the sa user credentials.

First, use the following URL to check if there is already a token generated that you can use, changing the <hostname> in the address to match your hostname or IP address.

Address:

https://<hostname>/rest/abl/admin/v2/apikey:apikeys?sysfilter=equal(name:'Dashboard%20User')

 

If no token is returned with the above request, use a tool like Postman to send a token creation request with the following attributes, changing <hostname> to match your hostname or IP address and changing apikey to match your API key:

Address:

https://<hostname>/rest/abl/admin/v2/apikey:apikeys

Body:

{
"account_url_name": "default",
"project_url_name": "orchestrator",
"name": "Dashboard User",
"apikey": "your-apikey-value",
"is_active": true,
"expiration": null,
"description": "Token used for Rally Dashboard Apps",
"logging": "*=FINE",
"data": "",
"roles": "\"Dashboard User\""
}

Here are the necessary settings within Postman:

 

Once this request has been sent, you may then visit the following address again to view the newly created token, changing the <hostname> to match your hostname or IP address:

https://<hostname>/rest/abl/admin/v2/apikey:apikeys?sysfilter=equal(name:'Dashboard%20User')