Custom template for comments...
Hello, as I try to add my own template through workflow, I found, that I am not able to add automatic reply quotation, so I tried to copy comment text to draft stream in my task card. But still I don´t know, how to add my own text to draft comment, or how can I add text from current comment based on for example commentId?
Is there any possibility to do this?
Or can You offer me another solution for adding own template, but not to add text as description, but add it only as comment?
For example, as I move card from "In progress" to "Review", I require to fill some conditions, that programmer need to accomplish before he will continue in swim lane with current card?
Please sign in to leave a comment.
Hello,
Unfortunately, this is not possible for now. Please feel free to vote for this feature request: https://youtrack.jetbrains.com/issue/JT-47459 to increase its priority and to receive the updates.
You can add a comment with a predefined text on specific actions and display a message which suggests user to edit this comment according to the situation. Or you can check that the last comment has been added less than 5 minutes ago, otherwise revert the transaction and display a corresponding message.
Hope it helps.
Hi,
How to revert the transaction?
Hi,
Please check this method, it does exactly what you are looking for.
Hi,
Not really, I thought there was a way to open a comment for editing automatically and 'unpublish' it.
Am I right we are talking about workflows? When you use the workflow.check() method, it checks the added comment and, if it doesn't match the condition, reverts publication of this comment (unpublished it). There is also a way to delete an existing comment via workflows.
If this is not what you'd like to achieve, I'd recommend starting a new thread and describing your scenario there in detail. Thank you!