The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation to add a picture to the description

Christian Fischer
Contributor
February 2, 2024

When the issue is transitioned to a specific status I want to add a picture to the description.

How can I do that?

Thanks for your support.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Mirek
Community Champion
February 2, 2024

Hi @Christian Fischer 

Is this picture always the same and is it already attached to some ticket? Basically where is the source? 

Could you please clarify? 

Christian Fischer
Contributor
February 4, 2024

The picture is always the same.

Actualy it is in a directory but if it is easier when I attach it to a "template-story" than this is no problem. I can open such a story and attach the picture.

Like Mirek likes this
Mirek
Community Champion
February 28, 2024

Yes, that is what I also would recommend to put the attachment to a template issue. After that you would have a direct link to it.. for example:

https://<your-base-URL>/secure/attachment/12800/chart.png

Then on a different issue you could add this to the description

!https://<your-base-URL>/secure/attachment/12800/chart.png!

and it should work (image should be visible even it is attached to a different issue)

If you want to put it on a specific transition then you add a post-function (or use automaton) that would update the description with above line od code