JWT Email Post Function
Hi Fidel -
Hope you're doing well. I have a new question about your JWT Add-on.
I am currently trying to send an email notification to an Issue Reporter and Creator upon a transition. What I want in the email notification is to have the hyperlink to get to the Issue (like the standard JIRA email notifications), as well as include the (mandatory) comment made by the JIRA Assignee to appear in the email's text body.
Do you think this is possible? With my current configurations the Reporter and Creator receive an email notification with the transition comment. That works well, however no link to the JIRA Issue can be seen in the email. As of now the email notification doesn't look authentic like the standard JIRA notification.
Comments (11)
-
repo owner -
reporter With the following configuration I get this email. It does give me a link to the Issue, it's just not as "flashy" as a standard JIRA email notification with the project icons, Issue name, etc. Is there any way to make the email look more like a standard email notification from JIRA?
-
reporter Configuration -
-
repo owner Hi @michaelgayheart,
In your screenshot of the email I can see
%(00015)
instead of%{00015}
, which what we expect according to the configuration shown by your second screenshot. I think that the actual configuration you are using may be different that what we see in that screenshot.Please, attach a screenshot of the whole configuration tab on the transition. I want to see all the post-functions you are executing and their configuration.
Please, try to reproduce the problem, once again. before taking the screenshot of post-function's tab.
-
reporter Sorry for my errors. This is what the configuration and email look like now -
-
reporter Email
-
repo owner Hi @michaelgayheart,
Now, it's working as expected. Isn't it?
-
reporter It's great that I do have the Issue Key as the link in the email. I was just hoping that it would look something like the attached image, as well as include the Transition Comment.
-
repo owner Hi @michaelgayheart,
You can look at the HTML that is using JIRA in their emails, and use something similar in your emails body. It should work.
-
reporter Great idea. I will look into it! Thank you for your help here.
-
repo owner - changed status to resolved
- Log in to comment
Hi @michaelgayheart,
You have to use HTML format and, in order to get the link to current issue, you should click on "HTML Link to Current Issue" as shown in the following screenshot:
Try the following text for your emails body: