templateType | template |
---|
templateOption | {"label":"FAQ Template Cloud Ready v2","value":"975385007","templateType":"template"} |
---|
templateTypeOption | {"label":"Confluence template/blueprint","value":"template"} |
---|
templateId | 975385007 |
---|
excerpt | Purpose This KB explains how to: Send the last Chatter comment to a custom text field in Salesforce (Feed Item object) Send the last Case comment to a custom text field in Salesforce (Case Comment object) This solution is for Case Chatter/Comments. The Salesforce connector fully supports chatter/comments on the Case object and Chatter on the Opportunity object. This solution has been tested in a sandbox and production environment. We recommend you to test this on a sandbox environment before deploying it to production. The Feed Item object is for Chatter, the Case Comments object is for Case comments. Answer In Jira, create two paragraph fields. In this example, the first is named "Last Comment Jira" and the second is named "Last Chatter Jira". In Salesforce, create two Salesforce Rich text fields. In this example, the first is named "Last Case Comment" and the second is named "Last Chatter Comment". Both custom fields should have a length of 32k. Configuring Last Case Comment to a custom field Create a Salesforce flow using the Case Comment object. Set the following information: i.) Object - Set the name as "Cast Comment". ii.) Configure Trigger - Trigger the Flow when - Set to "A record is created". iii.) Set the Condition Requirements based on the image below: iv.) The value “5005” are the first numbers of the CASE object ID(The number varies for different users. Check your instance CASE ID starting numbers). v.) The second entry condition is to check that ”commentBody” is not empty. Optimize the Flow for - Set to "Actions and Related Records". Create a Update Records and set the following information: i.) How to Find Records to Update and Set Their Values - Set to "Specify conditions to identify records, and set fields individually". ii.) Object - Set the name to "Case". iii.) Set the Filter Case Records based on the image below: Last Case Comment - Set it to your own wordings. The Flow will be triggered and the custom field will be updated with the last comment. In Jira, map the Last Comment Jira field with the Last Case Comment field. Configuring Last Chatter Comment to a custom field Create a Salesforce flow for the Feed Item object. Set the following information: i.) Object - Set the name as "Feed Item". ii.) Configure Trigger - Trigger the Flow when - Set to "A record is created". iii.) Set the Condition Requirements based on the image below: Create a Update Records and set the following information: i.) How to Find Records to Update and Set Their Values - Set to "Specify conditions to identify records, and set fields individually". ii.) Object - Set the name to "Case". iii.) Filter Case Records - Set to "All Conditions are Met (AND) Field is "ID", Operator is "Equals, Value is "$Record > Parent ID (Case) > Case ID" iv.) Set Field Values for the Case Records - Set Field to "Last_Chatter_Comment_C" and Value to "$Record > Body". In Jira, map the Last Chatter Jira field with the Last Chatter Comment field. The configuration is complete. |
---|
fieldGroupKeys | {"8gq4t5y21n":["net.customware.confluence.plugin.scaffolding__8gq4t5y21n__data_0_akqw568bf513ef3m6727"]} |
---|
|