Ability to use internal functions in "Add a comment" post-function
As a user I want to use internal functions (Advanced Parsing Mode) in "Add a comment" post-function.
At this time, I have to work-around this by 1) storing the value in Ephemeral string and 2) using this temporary value in "Add a comment" post-function.
I could use comment via "Set a field as a function of other fields" and use "New comment" but this always adds a public comment. And I need to add an internal ServiceDesk comment
Thanks.
Comments (5)
-
repo owner -
reporter Thanks for the advice but I can't add this to "Copy a parsed text to a field". That's why I'd like to add "Advanced Parsing Mode" to be available in "Add a comment" function (to avoid using ephemeral strings).
See screenshot:
-
repo owner The substring is a string literal, and you should write it in double quotes and concatenate it to the rest of the comment text using + operator:
"E-mail sent to " + userEmail(%{10706}) + "\n\n" + "[External Comment]\n" + %{10705} + " : {visibility=jsd_internal}"
-
reporter OK, thanks for info. I might use it later. At this time, I'm using "Add a comment" function in combination with ephemeral string so that I don't need to rewrite my post-functions.
-
repo owner Advanced parsing mode will be added in a future version in order to simplify the usage of post-function "Add a comment".
Property {visibility=X} is mainly intended to be used with post-functions "Write field on linked issues or subtasks" and "Write field on issues returned by JQL Query or Issue List" for creating comments in issues different from current issue.
- Log in to comment
You can add the following substring at the end of your comment in order to set visibility to JSD internal:
This is an example of configuration: