Post Function Emails
When adding Description Field into the email that is written in Visual rather than Text mode, It is not parsed and sent correctly. See attachments with build in JIRA email notification and Post Function Email Notification
Comments (13)
-
repo owner -
Account Deleted reporter - attached EmailConf2.PNG
- attached EmailConf1.PNG
- attached EmailConf3.PNG
-
Account Deleted reporter Please note, Our Description Field is Rich Text Editor (Wiki Renderer)
-
repo owner Currently JIRA Workflow Toolbox can't render Wiki format as HTML. We will try to support it in next version of the plugin (in a week approximately).
I will provide a beta version as soon as possible.
-
Account Deleted reporter @fcarmario Any update on this issue?
-
repo owner Hi Saar,
Sorry, although I have already initiated the work on this issue, it's not yet completed due to a problem with the implementation and other issues with higher priority. I will try to have it implemented in version 2.2.32.
-
repo owner Hi @saar_netzer,
In version 2.2.32_beta_1, function wikiToHTML() has been implemented in the parser of the plugin.
You can use "Copy a parsed text to a field" post-function before "Send an email" for setting Ephemeral string 1 with the content of Description rendered as HTML:
Text to be parsed is:
wikiToHTML(%{00001})
where %{00001} is field code for Description.
Then you use Ephemeral string 1 instead of Description when composing the body of your email.
-
Account Deleted reporter It's not working or I am doing something wrong: This is the email body in the post function where %{00061} is the value of Ephemeral string 1 :
This is the Copy a parsed text function:
This is the post function order:
This is the output email where the description is missing:
-
repo owner Are you using the Rich Text mode provided by JIRA in the recent versions, or a particular wiki format provided by a third party plugin?
-
repo owner I have tested it in JIRA 7.3.1 and it works as expected, as you can see in the screenshots:
Transition Configuration:
Issue Description:
Email Sent:
Are you using the Rich Text mode provided by JIRA in the recent versions, or a particular wiki format provided by a third party plugin?
-
Account Deleted reporter Rich Text mode provided by JIRA
-
Account Deleted reporter Upgraded JIRA to 7.3.1 and I can confirm it is working. Thanks :-)
-
repo owner - changed status to resolved
Great! You are welcome.
- Log in to comment
Hi Saar,
Can you please attach a screenshot with the configuration you are using for "Send an email" post-function?