Hello,
I'm trying to create a very simple automation, in which when an issue is moved to done, it triggers an email with the following information:
Subject: Card {{issue.key}} has been moved to "Done"
Content:
Card {{issue.key}} has been moved to done.
Details follow:
Responsible: [~accountid:{{issue.assignee.accountId}}]
ID: {{issue.key}}
Title: {{issue.summary}}
Description: {{issue.description}}
Created Date: {{issue.created}}
However, in the body of the email it does not fill in the Assignee's name information but rather the ID.
Also, when I add colors or other information to the description, it doesn't format properly.
Attached is an example of the email I received.
can you help me?
Your email shows the account id because that's what you added there. Use the following instead:
Responsible: {{issue.assignee.displayName}}
About the colours, make sure that you send your email as html and also use proper html tags if you want to apply formatting. For more details, see this html colour tutorial.
Hope this helps!
Walter,
The point is that it takes the default colors of the field, as well as emojis, etc.
In this case, could you suggest a way that I can format it so that the email is sent using HTML standards?
The HTML option is already parameterized.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, ok @Jonathon F. Lacerda - I had assumed you had put the colour tags yourself.
Yes, you can convert this to proper html by adding a converter tag to your text field like this:
description: {{issue.description.html}}
It will convert the wiki markup syntax to html for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Walter,
Firstly, thank you very much.
I'm almost able to finish the configuration.
My last question is about image loading.
Sometimes there are screenshots attached/copied directly in the description field and when I receive the email the image doesn't load.
Do I need to make any other settings or pass any other parameters?
Below is how it got to me in the email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
I think thats not supported:
https://jira.atlassian.com/browse/JRACLOUD-6207
That could be the issue.
This could work:
Regards
Aaron
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What you recommended worked, but now I have a small problem.
When a collaborator copies and pastes an image into the description field, if I leave it in HTML format, it brings the image without loading, as I previously stated, if I remove the .html from the parameter, it brings textual information about the image. Is there a way for me to disregard this in the description field, and thus just leave the image attached, for example?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Guys,
Could anyone help me with this question?
What you recommended worked, but now I have a small problem.
When a collaborator copies and pastes an image into the description field, if I leave it in HTML format, it brings the image without loading, as I previously stated, if I remove the .html from the parameter, it brings textual information about the image. Is there a way for me to disregard this in the description field, and thus just leave the image attached, for example?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As mentioned, thats not supported:
https://jira.atlassian.com/browse/JRACLOUD-39464
https://jira.atlassian.com/browse/JRACLOUD-70301
You cannot email images from a Jira issue using automation or the email itself.
There should be a third-party app for that.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Aaron,
In fact, I no longer need to send the image in the text, because as you can see, the link is already there in the attachments option.
What I would like was to send only textual information from the description field and "hide" the image information that I detailed in the previous image that I attached to the ticket.
Basically, no matter how much the user places a description in text and copies and pastes an image, for example, I disregard the image and leave only the text and thus the image will already appear in the attachment option.
It was clear?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thisis because you are using the account ID
Responsible: [~accountid:{{issue.assignee.accountId}}]
Check the user smart values
This one should work
The assignee of the active issue.
{{assignee.displayName}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.