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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

CQL to retrieve attachment counts per mimetype

The FAQ on How to Determine the Number of Attachments in My Confluence Instance   proved very useful but has led me to my next question. Is there a CQL command which would allow me to determine the attachment counts per mimetype?

The answer to this question will be used to determine whether I should integrate confluence with another search system.

Thanks for any consideration.

Lewis

1 answer

0 votes
Jessica
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 03, 2022

Hi Lewis,

Welcome to the Atlassian Community!

Checking our supported fields using the Advanced searching using CQL, currently there is no option to search for specific files mime types such as .pdf, .jpeg and etc.

Although it works using https://<sitename>.atlassian.net/wiki/search?type=attachment&text=.jpeg in my test site for example, it might not be accurate, since it searches for the text that contains the extension file name there.

Give it a try and see if that works for you!  Additionally, we have this feature request to be able to find attachment types in the search/cql:

Hope that helps, Lewis!

Cheers,
Jessica

Suggest an answer

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

Atlassian Community Events