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

Sorting calculated number field in Confluence and Jira Queries.

Stephen Casey Oct 30, 2017

Using Jira Custom Fields plugin I've created four number fields (A, B, C and D) and have a calculated field (E) which, if they're all numbers E=(A+B+C)/D.

 

All good and all showing up OK in search results and Confluence tables pulling in search results.

 

However, I can't sort by them and I want to show the table with sorted by E DESC.  I simply don't get the option to sort in the table and including it in a search shows:

 

Not able to sort using field 'E'.

 

Any ideas?

2 answers

1 accepted

0 votes
Answer accepted
David Fischer [Innovalog] Community Leader Oct 30, 2017

I’m afraid it’s a limitation of the Jira addon in Confluence. Are you able to sort by field E in Jira’s search results?

Stephen Casey Nov 01, 2017

Not exactly a solution, but I guess it's the answer.  Except, what's very odd is that I went to the page today and it seems to have updated itself and it's now allowing all of the fields to be sorted manually and by default through the query!

 

Oh well, no idea, but it's now doing exactly what I want it to so no complaints!

0 votes
Stephen Casey Oct 30, 2017

Ahh, I swear it didn't before, but yes - it now will allow me to pre-sort on 'E', though if it's re-sorted, the page has to be refreshed to get back to it because the header doesn't have the sorting option.

 

Close enough...  Thanks.

David Fischer [Innovalog] Community Leader Oct 30, 2017

Yeah, that a limitation of the Confluence macro, that doesn't support sorting on calculated fields.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar alert! An IT Admin's Guide to Securing Collaboration at Scale

Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...

186 views 2 7
Read article

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