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

Number of elements in variable Edited


Is any possibility to check how many elements are stored in variable ?


uprawnienia="jeden, dwa, trzy" -> it should tell, that here are three elements

uprawnienia="jeden" -> it should tell, that there is one element. 

I'm looking for something like this in JQL:

project="jakisprojekt" and numberof(uprawnienia)=1

I know, that it isn wrong statement but looking for something similar.

any idea?

I have "jira automation plugin". if I can use it, let me know how?





1 answer

0 votes

You'll need something that can be used to write a new "JQL function".  Automation cannot do that, you'll need one of the full Scripting apps to do that (or write your own app)

Another option might be a scripted field that simply returns issue.getCustomFieldValue(cf).size() - then you'll be able to say things like "and uprawnienia-count > 2" in plain JQL.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

273 views 1 2
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