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
...
Add component → New action → Send web request
Web request URL: https https://YOUR_INSTANCE.atlassian.net/rest/api/3/project
Headers:
Content-Type: application/json
Authorization: Basic c2VydmljZXRlYW2AZGVpc2VyLmNvbTpBTGN1bkwzNzQ1YTRBUFY3cXcwZkU3MkQ=-EXAMPLE (The Authentication in Base64)
HTTP method: POST
Web request body: Custom data
Custom data (ℹ️ Replace DUMMYAUTO for your project key)
Code Block { "key": "DUMMYAUTO", "name": "Test dummy project autogenerated", "description": "Description for Test dummy project autogenerated", "leadAccountId": "{{issue.reporter.accountId}}", "url": "https://www.deiser.com", "assigneeType": "UNASSIGNED", "projectTemplateKey": "com.atlassian.jira-core-project-templates:jira-core-simplified-project-management" }
Check: Delay execution of subsequent rule actions until we've received a response for this web request
...
Add component → New action → Send web request
Web request URL: https 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 Jira
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}}" } ]
...