Greetings to all.
I would need a way for the written comment to be taken during the transition from one status to another, and then the TEST OK added to it. Is this possible with JMWE at all?
You can use a Scripted (Groovy) post-function to modify the comment entered on the transition screen, with this simple script:
if (transientVars.comment)
transientVars.comment += "\nTEST OK"
Note that the post-function must be placed before (above) the built-in "Add a comment to an issue if one is entered during a transition." post-function.
Good morning, David. That's exactly what I was looking for. Perfect. You deserve more than just coffee. When you're in Austria, call, let's go eat something at my expense.
Thank you very much. With respect
Jurica Petricevic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
${transientVars.comment} TEST OK
this is the current solution for me but i get 2 comments. The original one and this extra one. I hope there is a solution for that as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With the JMWE app it is possible to add a "Comment Required Validator" to a workflow-transition. If you combine this with a screen that adds to the transition.
Are you looking for that?
Regards, Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, not that. I would like to take a current comment that someone writes and then add for example to his comment a simple TEST OK. Sometimes the explanations are too long and too complicated to read so the devoloper can go on as soon as he sees the test OK and not read the whole novel.
Thank you anyway, Marco. Nice of you to try to help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.