Conditional sync comment

Originally asked by Berry Kersten on 28 January 2020 (original question)


Is it possible to (only) sync comments based on a condition?

Our usecase is to sync comments when the Resolution = Won’t Fix (or Won’t Do)


Comments:

Francis Martens (Exalate) commented on 28 January 2020

What comments do you want to sync - The whole thread or specific comments while the issue is in status “won’t fix”

Berry Kersten commented on 29 January 2020

Francis Martens (Exalate) only the specific comment that is made on the “Closed screen” when setting the resolution.

Answer by Francis Martens (Exalate) on 29 January 2020

Ha - the thing is that it is hard to know what the comments is/was the moment that the issue gets closed

You can iterate through the issue history to find the right group and the corresponding comment (scratch head)

An alternative is to add a custom field

‘Closing remarks’, and sync that as a normal custom field.

Would that work?


Comments:

Berry Kersten commented on 30 January 2020

Yes, that is a good alternative solution that works. Thx

Francis Martens (Exalate) commented on 30 January 2020

Would you mind tagging this as an answer - thanks

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.