This article describes how to set up the calls to generate a token for use in the Rally Adapter for Jira (RAJ) Dashboard Apps.
Component : Jira Adapter
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:
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')