Forums

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

Automation Rule Card Cover Images

Damian Parker September 25, 2024

I have created a rule to take the attachment image from the parent (Epic) and attach it to the story so that I can have that image on the cover card, however, it doesn't seem to recognize the automation rule has attached an image. Image below shows:

  • Card cover images are switched on
  • Rule audit is successful
  • Story is updated with the attachment
  • Card in the board 'to do' shows no card cover image

If I attach this manually, it works.


Untitled.jpg


 

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2024

Hi @Damian Parker 

Short answer: it seems cover images can only be set by some code in the UX; they cannot be set with automation rules or the REST API.

 

I experimented a bit and this is not a permissions issue (for the rule) or a problem with the attachment not copying correctly.  It seems the board's user experience (UX) code sets some attribute for the current, first manually-added attachment to be the one used for the cover image.

An experiment I did to confirm this behavior: with a rule to copy the attachment from a parent issue (as you did), the cover image did not display.  Then I manually added another image attachment to the new issue and the cover image appeared with the second attachment.

In the developer community, I found a post indicating there is no REST API support for detecting / setting the cover image: https://community.developer.atlassian.com/t/is-there-a-jira-api-call-that-will-tell-me-if-a-cover-image-is-assigned-to-an-issue/51850

 

Kind regards,
Bill

Damian Parker September 25, 2024

Thanks for checking Bill! I assumed this would be the case but I'm by no means an expert in this area so on the off chance that someone had a solution; I thought I'd post it up. Thanks for responding so quickly too!

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events