Smart value notation for smart link in automation to have JQL query display in list view

Michael Dawson January 21, 2025

While Use Automation to edit link formatting on Paragraph Fields outlines how to create URLs to add to paragraph fields which allow smart URLs to be displayed as smart-link, smart-card or smart-embed, there doesn't appear to be a way to create a URL which will result in a Jira JQL link displaying the List view.  Does such a solution exist?

Currently the only work-around I've found is to go the issue after the paragraph field has been updated, click on the smart card and change the display from card to list. 

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.
January 21, 2025

Hi @Michael Dawson -- Welcome to the Atlassian Community!

What do you mean by the "List view"?

  • If you mean the relatively new feature of showing a list of issues within a field, such as within the Description, I not not believe that can be done from an automation rule as the markup is limited.  You could try experimenting using the REST API update issue endpoint to save with Atlassian Document Format (ADF).
  • If you mean the list feature of a Jira project (from the left panel), the closest you could get is to provide a direct URL to that along with your JQL...but that will not preserve any settings of the view as those are by user.
  • If you mean a list of issues from "View All Issues" with a JQL search, that direct URL could also be provided by adding the JQL to the end.

Kind regards,
Bill

Michael Dawson January 21, 2025

Hi Bill,

 

I am referring to the Smart Link list view as described on Smart Link list view , specifically having Jira automation add the URL (which is a Jira search query) to the description field of a Jira ticket and have it display the results as a list view. 

The list view is the one you get when you click on this button

ListViewIcon.png

And then shows the list with these headers

listview.png

I have tried constructing the URL using the various options like [URL|URL|smart-card] and [URL|URL|smart-embed], but none of those will default the view to that list view.  

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.
January 21, 2025

Thanks for that information, Michael.

I have not tried to add those with a rule, and I believe they are macros which create the list from the selection criteria (e.g., URL, search results, etc.).  Many of the macros cannot be directly added by a rule's edit action.  One way to check is to view the configuration for the macro in the page content using the REST API to view it, and then try to create a new one...again with the REST API as described earlier.

Michael Dawson January 21, 2025

Thanks Bill. I was successfully able to get the view I wanted by using the REST API in the Jira Automation rule to write the description field and populate the URL to display as a list view.  That solution isn't ideal, but it is working.

Thanks for your help and suggestion to use the REST API!

Suggest an answer

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

Atlassian Community Events