Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JMWE Comment + Text

Jurica Petricevic
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2020

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?

3 answers

1 accepted

2 votes
Answer accepted
David Fischer
Community Champion
September 23, 2020

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.

Jurica Petricevic
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 23, 2020

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

0 votes
Jurica Petricevic
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2020

${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.

0 votes
Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2020

Hi @Jurica Petricevic 

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

Jurica Petricevic
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2020

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events