Automation: Copy order details to Jira issue description
This automation rule ensures that all relevant order details are automatically added to the description field of a Jira issue when a new order request is created. This helps support agents and stakeholders quickly understand the request without needing to look elsewhere for information.
When an issue is created in the designated Jira Service Management project (e.g.,Β Product Orders), this rule collects key order data, such as product name, quantity, requester, location, and any additional notes, and populates the issue description field with a well-formatted summary.
In the image below, you can see how the description is automatically populated with the order information after the rule executes:
The automation rule is defined in JSON format, which stores the ruleβs configuration and metadata.
{
"cloud":true,
"rules":[
{
"id":29539389,
"clientKey":"567bdccb-e773-3027-84c3-57baa09d46fb",
"name":"Set Description for Shoppie",
"state":"ENABLED",
"description":"",
"authorAccountId":"62d8037f0bd706a39a334006",
"actor":{
"type":"ACCOUNT_ID",
"value":"557058:f58131cb-b67d-43c7-b30d-6b58d40bd077"
},
"created":1751377920518,
"updated":1751380139771,
"trigger":{
"id":"718096610",
"component":"TRIGGER",
"parentId":null,
"conditionParentId":null,
"schemaVersion":1,
"type":"jira.issue.event.trigger:created",
"value":{
"eventKey":"jira:issue_created",
"issueEvent":"issue_created",
"eventFilters":[
"ari:cloud:jira:f113e3ca-bced-40ad-a95c-b90367e8081f:project/10019"
]
},
"children":[
],
"conditions":[
],
"connectionId":null
},
"components":[
{
"id":"718094995",
"component":"ACTION",
"parentId":null,
"conditionParentId":null,
"schemaVersion":1,
"type":"codebarrel.action.log",
"value":"{{issue.properties.753e60c9-603c-4461-821e-c4a4667169a5}}",
"children":[
],
"conditions":[
],
"connectionId":null
},
{
"id":"718095688",
"component":"ACTION",
"parentId":null,
"conditionParentId":null,
"schemaVersion":12,
"type":"jira.issue.edit",
"value":{
"operations":[
{
"field":{
"type":"ID",
"value":"description"
},
"fieldType":"description",
"type":"SET",
"value":"**This was generated by Automation**\n\nh1. π¦ New Order Received β Next Steps\n\n1. π **Click on _Order_ in the description field** \nβ Go to the order details by clicking the link or reference in this description.\n\n2. π **Adjust the order if needed** \nβ You can change quantities, items, or add internal notes before approval.\n\n3. β
**Click _Approve Order_ when everything is correct** \nβ This confirms the order and locks further editing.\n\n4. π **Generate PDF (optional)** \nβ Once approved, you can create a PDF for documentation or external use.\n\n5. π¬ **Click _Order Received_ once the delivery has arrived** \nβ This will mark the order as completed.\n\n|| Asset Name || Count || Price (β¬) ||\n{{#issue.properties.753e60c9-603c-4461-821e-c4a4667169a5.cart.items}}\n| {{name}} | {{count}} | {{price}} |\n{{/issue.properties.753e60c9-603c-4461-821e-c4a4667169a5.cart.items}}"
}
],
"advancedFields":null,
"sendNotifications":true
},
"children":[
],
"conditions":[
],
"connectionId":null
}
],
"canOtherRuleTrigger":false,
"notifyOnError":"FIRSTERROR",
"projects":[
],
"labels":[
],
"tags":[
{
"id":114228390,
"ruleIdUuid":"0197c642-4206-7acd-a3bc-74196fe2f11d",
"tagType":"IS_RULE_UPDATED",
"tagValue":"true"
}
],
"ruleScope":{
"resources":[
"ari:cloud:jira:f113e3ca-bced-40ad-a95c-b90367e8081f:project/10019"
]
},
"ruleHome":{
"ruleLifecycleHome":{
"locationARI":"ari:cloud:jira:f113e3ca-bced-40ad-a95c-b90367e8081f:project/10019"
},
"ruleBillingHome":{
"locationARI":"ari:cloud:jira-servicedesk::site/f113e3ca-bced-40ad-a95c-b90367e8081f"
}
},
"writeAccessType":"UNRESTRICTED",
"collaborators":[
],
"billingType":"NORMAL",
"idUuid":"0197c642-4206-7acd-a3bc-74196fe2f11d",
"partitionId":"95946502-e75e-4f36-84a3-d4ccc9b7291c"
}
]
}