How to define columns of a smart-card rendered filter-table through Automation?

Walter Lamm April 10, 2024

Hey there,

when pasting a url to a JQL-search into an issue desription it automatically gets rendered into a cool smart-card with predefined columns like so:

Zwischenablage01.png

Before I stumbled upon this feature I had Automation automatically insert a lookup list of specific issues and some of their fields into a table in the description field when my rule was triggered. Problem was that this list was static. If there were any issues added, the list wouldn't get updated.

With this feature I could include a live view of a JQL-search but I have one problem:

The columns seem to be predefined and I need different ones and another order of these.

So my question is this: Is it somehow possible to define these columns in Automation?

When I change them in the description manually the change gets logged in the card's history but there are no apparent changes I could use to format my insert:

Zwischenablage0122.png

Thanks a lot!

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.
April 10, 2024

Hi @Walter Lamm 

I hypothesize the answer is: "no, that is not possible."

Many of the macros for the Description field cannot be added (or updated) directly with automation rule edits to the field.  It appears there is more data the macro uses that is not visible to the rule actions.  This may be demonstrated if you write the Description to the audit log (or call the REST API functions), and the selected columns for the issue list macro are not included.

I spent quite a bit of time on this a couple of years ago trying to add / edit some macros and was not successful.

Kind regards,
Bill

Walter Lamm April 12, 2024

@Bill Sheboy Okay, thanks for confirming my assumption.

That's a shame and not really understandable why anyone would implement such cool macros that oviously can manually be customized and not give us the option to use these customizations in Automation. 

On top of not being able to edit the columns I've found out it's not even possible to insert the table itself. If I use [smart-card] as pictured in my second screenshot above it gets rendered as a smart-card and not as a smart-table. Am I missing something? Why are two different renders of a JQL-search named the same? 

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.
April 12, 2024

Sorry, I do not have answers for that.

There is little documentation on the markdown features regarding field macros: https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all

My hypothesis is many Jira features have no REST API functions to access the data which configures the feature, and so automation rules cannot access them.  There is an Atlassian Document Format (ADF) for advanced formatting, although I could not find specifics on using that macro with a rule.

 

You appear to be the site admin for a paid Jira license, and so I suggest submitting a ticket to Atlassian Support to ask if it is possible: https://support.atlassian.com/contact/#/

When you hear back from them, please post what you learn to benefit the community.  Thanks!

Walter Lamm April 16, 2024

I've asked Atlassian Support but nothing new to report unfortunately.

Thanks for your time nonetheless.

Suggest an answer

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

Atlassian Community Events