Hi guys,
I am trying to implement Jira Automation so the whole team receives an e-mail when an issue is created. I managed to get things almost right but the result looks a bit amateur.
I have been exploring all the docs under https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/ and got almost everything replicate from a normal Jira Ticket.
[JIRA] {{issue.key}} {{issue.summary}}
Description: {{issue.description}}
Issue Type: {{issue.issueType.name}}
Assignee: {{issue.assignee.displayName}}
Priority: {{issue.priority.name}}
Created: {{issue.created.format("dd/MM/yyyy hh:mm")}}
Reporter: {{issue.reporter.displayName}}
URL: {{issue.toUrl}}
I am trying to figure out the date because it is showing US time instead of Australia.
But, I would be truly happy to make the avatar to work so things look more professional
So under https://support.atlassian.com/jira-software-cloud/docs/smart-values-users/ you have:
{{assignee.avatarUrls."48x48"}}
When receiving the e-mail, all I see is its URL instead of the avatar picture itself.
How to make it works?
This is the desirable result:
Assignee: {{assignee.avatarUrls."48x48"}} {{issue.assignee.displayName}}
Reporter: {{assignee.avatarUrls."48x48"}} {{issue.reporter.displayName}}
Do I need to add HTML, JSON parameters or something like that? Or am I missing something?
Thank you
For the date, please try converting the time zone before formatting:
{{issue.created.convertToTimeZone(reporter.timeZone).format("dd/MM/yyyy hh:mm")}}
This example uses the Reporter's time zone, but you could hard-code it if you wish.
Regarding the avatar images, doesn't look like that is possible. There appear to be suggestions in both the public JIRA Cloud and the automation backlogs to add this.
Best regards,
Bill
Thank you for your reply. I am unable to test that because of "Error sending email:Daily message quota exceeded. (Service: AmazonSimpleEmailService; Status Code: 400; Error Code: Throttling; Request ID: 80aea197-e0ca-4817-8f92-76966d99b2cd)"
I am creating a user with a group e-mail account instead. Too much headache for such a little implementation.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree...
Please post back here once you get a chance to try this, or mark the question as answered if it solves it. That will help others in the community find solutions faster. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your suggestion did solve my problem with timezone :)
I am just not sure where to mark this as answered. All I see is "Report to moderators".
Have a great one.
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi...
I am glad that helped solve your problem. There should be a button up near your question to accept the answer.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill SheboyI only saw that on my first post. I can no longer see it. Gonna need to leave for a moderator do to it :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.