Embed images or add hyperlinks in comment using Automation for Jira
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
This page describes how to create an automation rule that enables you to add images and hyperlinks to the comments posted on the issue.
Solution
Syntax for links and embedded images via automation
Once you have configured the Automation rule trigger and defined the conditions when a comment should be added - you can add the below options in the Comment on issue action.
For hyperlinks, bracket the clickable text, and add the link URL, separated by a pipe (the "|" character). For example:
[Link Text|URL]
[Atlassian's website|https://www.atlassian.com]
To embed an image, wrap the image URL within exclamation points. For example:
!https://<your_website>.com/images/your_image.png!
Steps to create an automation rule:
From your service project, select Project Settings> Automation
Select Create rule in the top-right corner
Select a trigger for the rule. Configure the trigger settings and select Next
If you want to set conditions, actions, or branches on the rule, select New component, then configure the settings for your branch, action, or condition
Select Next
Give your rule a name, then select Turn it on
Additional resources:
https://support.atlassian.com/cloud-automation/docs/create-and-edit-jira-automation-rules/
https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/
https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/
Was this helpful?