Note |
---|
RequiredTo 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 |
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: |
5. Update the project fields with the issue fields
...
Web request URL: https://profields-cloud.deiser.com/values/projects/{{targetProjectId}}
Headers:
Content-Type: application/json
Authorization: Bearer {{projectrakJwt}} → Understand how to create a Projectrak authorization in Automation for Jiradefined in step 4
HTTP method: POST
Web request body: Custom data
Custom data ( Replace for the Projectrak field ID key and the issue field)
Code Block [ { "fieldId": 9754, "value": "{{issue.summary}}" }, { "fieldId": 9752, "value": "{{issue.description}}" } ]
...