Versions Compared

Key

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

Required

To perform this use case, you need to have technical knowledge. If you need any kind of help, you can contact us through help@deiser.com

(info) It is not necessary to create a Project, just avoid the second step of the automation rule

Create an automation rule

1. Configure trigger

Create a new trigger → When issue transitioned

...

  • Variable name: targetProjectId

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

4. Get the authorization token

Add the steps “Get the Projectrak JWT” and then “Store the JWT in a variable“, described at this link: https://deiser-apps.atlassian.net/wiki/spaces/PROJECTRAKCLOUD/pages/1641490/How+to+create+a+Projectrak+authorization+in+Automation+for+Jira?src=search

Note

Important:
If you don’t have already created a Projectrak API token , you have to do so as described in the first steps of the above link. If you have already got it, you can reuse it.

5. Update the project fields with the issue fields

...

  • Web request URL: https://profields-cloud.deiser.com/values/projects/{{targetProjectId}}

  • Headers:

  • HTTP method: POST

  • Web request body: Custom data

  • Custom data ((warning) Replace for the Projectrak field ID key and the issue field)

    Code Block
    [
      {
        "fieldId": 9754,
        "value": "{{issue.summary}}"
      },
     {
        "fieldId": 9752,
        "value": "{{issue.description}}"
      }
    ]


...