This article explains how to get the comment added during a transition (on the transition screen) and set it to a text field using Set issue fields JMWE post-function.
\uD83D\uDCD8 InstructionsInstructions
Navigate to the intended workflow and open it in Edit mode.
Select the required transition.
Select the Post functions tab and click
Add post function
.Add the Set issue fields post-function.
Select the target issue and target field in Target issue(s) and Add field(s) respectively, and add the following template as Value for the added field:
Code Block language java {{ context.comment.body }}
In the below example, a field named “Dev” of type “Text Field (multi-line)” is added.Select the checkbox “Delay the execution of this post-function” under “Delayed execution” and select a delay of 3 seconds.
Click Add
Place the above JMWE post-function below the "Add a comment to an issue if one is entered during a transition" Jira built-in post-function.
Publish your workflow.
...
\uD83D\uDCCB Related Related articles
Filter by label (Content by label) | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|