/
How to create a Projectrak authorization in Automation for Jira

How to create a Projectrak authorization in Automation for Jira

1. Create a token for the Jira user

Account Settings → Security → Create and manage API tokens → Create API Token

1. Label: testautomation

2. Store your Jira token (something like this):

Create a Projectrak ApiKey

1. Go to: https://YOUR_INSTANCE.atlassian.net/plugins/servlet/ac/com.deiser.jira.profields/my-settings#!api

2. Create an Api Key

3. Name: testautomation

4. Save

5. Store the result for API Key ID and API Key (something like this):

6. Get the Projectrak JWT

Add component → New Action → Send web request

  • Web request URL: https://profields-cloud.deiser.com/api-keys/jwt

  • Headers:

    • Accept: application/json

    • Content-Type: application/json

  • HTTP method: POST

  • Web request body: Custom data

  • Custom data:

    { "name": "testautomation-557058:093b8c8e-fcfd-48c2-9f42-467780eb8584-EXAMPLE", "password": "U5FMrLin6CBMv8rxQORqYyOgMDXJ4l3kH0UcjINM-EXAMPLE" }



  • Check: Delay execution of subsequent rule actions until we've received a response for this web request



7. Store the JWT in a variable

Add component → New Action → Create variable

  • Variable name: projectrakJwt

  • Smart value:  {{webResponse.body.jwt}}

Related content

Set issue watchers from a Projectrak field on issue creation
Set issue watchers from a Projectrak field on issue creation
Read with this
Check access to a project using REST APIs
Check access to a project using REST APIs
Read with this
Projectrak as action - Set issue field value when created, with a Projectrak field value
Projectrak as action - Set issue field value when created, with a Projectrak field value
Read with this
Use Projectrak REST API from ScriptRunner
Use Projectrak REST API from ScriptRunner
Read with this
Calculate Project planned duration based on two dates
Calculate Project planned duration based on two dates
Read with this
Use cases
Read with this