Write Field Content to new comment but format string first
Issue #829
resolved
Hello, I'm trying to write a string from a custom field as a new comment during a transition. This worked so far using " following text parsed in basic mode will be copied to New comment" post function. The problem is, the string needs to be reformated first, because what I recieve now is this:
[ {"id":"Just a Question?","type":"todo"} , {"id":"And another Question?","type":"todo"} ]
What I want to be written as a comment is this:
Just a Question?
And another Question?
Is that possible (knowing your great add-on, I'm sure it is ;-)) and if so, how?
JIRA Software Version: 7.5.0 Workflow Toolbox 2.2.42
Thank you very much! Kind regards, David
Comments (2)
-
repo owner -
repo owner - changed status to resolved
We close this issue. Please, reopen it if you need to. Thanks.
- Log in to comment
Hi @friedrich78,
You can implement it using "Copy a parsed text to a field" with the following configuration:
String expression is:
replacing nnnnn with field code of the field that contains the text to be reformated.