We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62474dd commit 3ef3c87Copy full SHA for 3ef3c87
src/services/slack.ts
@@ -309,6 +309,26 @@ export class Slack {
309
})
310
}
311
312
+ if (param.changeLogs.length > 0) {
313
+ const changeLogElementList: RichTextElement[] = []
314
+
315
+ for (const changeLog of param.changeLogs) {
316
+ const { field, oldValue, newValue } = changeLog
317
318
+ changeLogElementList.push({
319
+ type: 'text',
320
+ text: `${field} ${translate(
321
+ 'status.modified'
322
+ )}: ${oldValue} -> ${newValue}`
323
+ })
324
+ }
325
326
+ descriptionElements.push({
327
+ type: 'rich_text_section',
328
+ elements: changeLogElementList
329
330
331
332
const description: RichTextList = {
333
type: 'rich_text_list',
334
style: 'bullet',
0 commit comments