Currently when a Jira delivery is created, only the JPD idea’s Summary and Description are copied to the delivery out-of-the-box.
This Article provides different automation rules to copy and map each JPD standard field-types → Jira delivery fields. Below are rules we’ve found easiest to configure.
There are multiple ways of copying and mapping idea fields → delivery fields via automation. We’d love to hear in the comments how Community is managing this today!
References and related pages:
- Jira Cloud automation
- How to find any custom field's IDs
- Smart values - JSON functions
- String processing methods
Some things to note when configuring these automations:
When mapping fields from idea → delivery, it’s best practice the JPD and Jira field-types match. It is sometimes possible to map different field-types, but the automation could experience errors
When mapping the idea's value(s) → delivery field, the automation should reference the Destination issue - which is the JPD idea in these cases
When deciding on the Scope of the automation, the Rule details should identify both the JPD and Jira projects. The automation's Scope should be configured to either:
Global (to apply to all projects)
Multiple projects (select both the JPD and Jira projects)
A custom field that stores boolean values as 0 (unchecked) or 1 (checked).
This field-type is only available for JPD, and since these only store a value of 0 or 1 - mapping this field-type to a delivery is not something we’ve seen a lot of customers configure.
Jira dates follow a specific date (and time) formatting like:
"YYYY-MM-DD"
JPD dates follow a range formatting like:
"{\"start\":\"YYYY-MM-DD\",\"end\":\"YYYY-MM-DD\"}"
Due to the formatting differences, a combination of string processing + smart values can be used to extract the idea's date, and map it to the delivery's date.
When: Issue linked → Link Types = "Polaris issue link"
Then: Edit issue → Select delivery's date-field → SET value:{{destinationIssue.customfield_JPDDD.substringBetween("\"start\":\"","\",\"end\"")}}
JPD date-fields can range between a day, month, or quarter. Jira date-fields are limited to a specific date.
This automation will only work as expected when a specific day is selected in the idea's date-field.
Copy idea's hyperlink-field → delivery's URL-field (or short-text field).
When: Issue linked → Link Types = "Polaris issue link"
Then: Edit issue → select delivery's URL-field → COPY idea's hyperlink-field from "Destination Issue"
Copy idea's multi-select (checkboxes) field → delivery's checkboxes-field (or select-list (multiple choices) field).
When: Issue linked → Link Types = "Polaris issue link"
Then: Edit issue → select delivery's checkbox-field → COPY idea's checkbox-field from "Destination Issue"
Automations out-of-the-box cannot create new values (aka options), so these need to exist within your Jira field's context for this automation to work as expected.
Copy idea's number-field → delivery's number-field.
When: Issue linked → Link Types = "Polaris issue link"
Then: Edit issue → select delivery's number-field → COPY idea's number-field from "Destination Issue"
Copy idea's Assignee → delivery's Assignee.
When: Issue linked → Link Types = "Polaris issue link"
Then: Edit issue → select delivery's Assignee field → SET value:{{destinationIssue.assignee}}
Copy idea's people-field → delivery's User Picker (single user) field.
When: Issue linked → Link Types = "Polaris issue link"
Then: Edit issue → select delivery's user-field → SET value:{{destinationIssue.customfield_JPDDD.accountId
}}
As mentioned in this page, JPD people-fields are not supported with automations, but smart values like the ones shared above can be used to copy and map users.
A custom field that stores numbers (1-5), and uses a rating representation to display.
This field-type is only available for JPD. In theory it's possible to map this to a number-field, but not something we’ve seen a lot of customers configure.
Copy idea's select-field → delivery's select-list (single choice) field.
When: Issue linked → Link Types = "Polaris issue link"
Then: Edit issue → select delivery's select-list (single choice) field → COPY idea's select-field from "Destination Issue"
Automations out-of-the-box cannot create new values (aka options), so these need to exist within your Jira field's context for this automation to work as expected.
Copy idea's short-text field → delivery's text-field (single line).
When: Issue linked → Link Types = "Polaris issue link"
Then: Edit issue → select delivery text-field → COPY idea's short-text field from "Destination Issue"
Max of 255 characters for both.
A custom field that stores numbers (1-100), and uses a slider representation to display and edit the value.
This field-type is only available for JPD. Since this field-type displays a number, it can be mapped to a delivery's number-field.
When: Issue linked → Link Types = "Polaris issue link"
Then: Edit issue → More options → Additional fields:{ "fields": { "customfield_JIRAA": {{destinationIssue.customfield_JPDDD}} } }
Nick Haller
Technical Support Engineer
Atlassian
Boston
357 accepted answers
3 comments