Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

LookupIssues: Smart variable can't be used to access issue properties. Show amount of results

Hi!

I have several JQL searches in a single rule and I have created a smart value variable out of each one of them: New, Closed and Immediate.

Each JQL returns a list of several issues. I need to accomplish two things:

  1. Show the url and summary of each one of the items within that list
  2. Show the amount of issues from each JQL

 

For the first one, I can get it with without the smart value variable writing the code below, but I achieve the same if I change the related lookupIssues by the related variable. How can I do so? Is it possible?

{{#lookupIssues}}
- {{url}} - {{summary}}
{{/}}

 

For the second one, I just simply don't know how to get the amount of issues from a single search.

 

Thank you!

1 answer

Hi @Sergio Montávez 

Have you tried to use {{lookupIssues.size|0}} to return the count of issues from the query?

The |0 part at the end handles cases without any returned issues.

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,022 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you