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

Few of custom fields not showing in TWO Dimensional filter statics gadget

Ramesh Udari1 August 12, 2013

Hi,

We are using jira5.0.2 version and we came across one issue while configuring two dimensional filter statics gadget that is few of the custom fields not showing XAxis and YAxis drop downs.

8 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 14, 2013

It is not going to. As I already said, the axes fields must be countable, and text fields are NOT countable. Even if you coded to make them appear, you'd rarely get a result other than "1". Take this question as an example - each answer and comment is a text field. Unless someone posted exactly the same comment repeatedly, you've only got 1 of each.

As Keith has pointed out, the only useful one that's missing is cascading selects. Text, numbers, date/time, all produce nonsense if you could use them in this gadget.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 14, 2013

Hmm, someone just posted "this is a bad biased assumption" and voted me down I'm curious to know why. I'm interested in a use case for text - just because I can't think of anything even remotely useful (in the context of a counter gadget), doesn't mean there isn't one.

&(*&)#)_*#@@(*)(@*)(*@
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.
August 14, 2013

the use case for text :

- user want the ability to enter arbitrary value to an issue.

- user want the ability to make 2dimensional statistic with this arbitrary value.

it mainly depend on the context and customers needs , arguing with uselfuness with customers is another story ;)

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 14, 2013

Nope. Utterly useless. Arbitrary text is the whole point - it's mostly, if not entirely countless, and hence useless as a statable object.

This is not a case of arguing usefulness with a customer, it would be negligent to point out that they are trying to do something dumb.

On the other hand, I left out "labels". They should be statable too...

&(*&)#)_*#@@(*)(@*)(*@
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.
August 14, 2013

'pointing out that they are trying to do something dumb' is a different story ..

Ethan Foulkes
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.
April 25, 2016

Use case: We automatically populate a text field with an email address from an external database based a selected field in a parent issue when sub-task is created. It's a text field but since we control the input it is standardized and we'd like to be able to report on it.

Like Adam Dwyer likes this
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 25, 2016

It's still a text field and hence arbitrary - it can't know that the values are fixed.  You could swap it to a select list as you know what the inputs are.

Ethan Foulkes
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.
April 26, 2016

Yes I know. The list is controlled by an external system though and has a huge number of emails and is regularly updated. This isn't a big deal but I thought I'd give you an actual use case =)

2 votes
&(*&)#)_*#@@(*)(@*)(*@
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.
August 19, 2013

You can use this plugin

it add statistic for Custom Field Types :

  • Date Time Picker
  • Date Picker
  • Number
  • Select List (cascading)
  • Text Field (single line)
  • Text Field (multi-line)

best regards

1 vote
&(*&)#)_*#@@(*)(@*)(*@
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.
August 14, 2013

Anyone making the biased assumption that one use case must fit all use case is wrong .

It all depend on the context, but there is more than exctly one way.. ;)

Regarding the original question,

You can use this plugin

it add statistic for Custom Field Types :

  • Date Time Picker
  • Date Picker
  • Select List (cascading)
  • Text Field (single line)
  • Text Field (multi-line)

best regards

1 vote
Keith Champoux August 13, 2013

It seems that Dashboard widgets like 2D Filter only allow selecting certain field types, per https://confluence.atlassian.com/display/JIRA/Adding+the+Two-Dimensional+Filter+Statistics+Gadget:
"If choosing a custom field, please note that the following types of custom fields are supported by this gadget out-of-the-box: 'Group picker', 'Multi select', 'User picker', 'Select list' and 'Version picker'."

In particular, note that per https://jira.atlassian.com/browse/JRA-6411, Cascading Selects are also noteworthy for not being selectable (without workarounds).

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 12, 2013

Re-indexing only needs doing if you've been inserting data. New fields will show as soon as they're added.

However, for fields to be shown in the Axes drop-down, they must be "statable" - that is, things that can be counted. If you've added text, number or date fields, they'll never appear. Select list types and users will be,

Ramesh Udari1 August 14, 2013

Hi Nic & Keith,

I have created free text cutomfield and assiciated with project, but this custom field is not showing in two diemntional filter statics gadest.

Sowndarya June 30, 2017

Nic,

I face some issues . I have 2 label fields

One label field is vaiable in the drop-down of Two dimensional gadget but the other field not listing.

What could be the reason?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 30, 2017

What type of fields are they?  Two label type fields works here for me.

Sowndarya July 2, 2017

Both fields are label fields. Techncally it should work.

I have many Labels fields. There is no poblem with other Label fields.

But few of them not working.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 3, 2017

Ok.  Can you check that the fields have "searchers" in their definition (it's under custom fields -> field -> edit)

If they do, then the next thing is to start looking at logs, I'd expect to see errors when your user clicks on "edit" on the gadget to get the config screen to try to select the labels as axes.

0 votes
jose_castro June 9, 2016

Hello folks. I know this is an older post. However I just wanted to make you aware that I opened a feature request for the documentation to be updated https://jira.atlassian.com/browse/JSW-13785 as well as the ability to search instead of drop down when you are selecting fields https://jira.atlassian.com/browse/JSW-13786 for the gadget statistical parameters.

0 votes
&(*&)#)_*#@@(*)(@*)(*@
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.
August 14, 2013
the only useful one that's missing is cascading selects. Text, numbers, date/time, all produce nonsense if you could use them in this gadget.

this is a bad biased assumption.

Tej March 7, 2017

Hi @Marc Trey

Even though I try with Stattable Searchers but still I didn't see number fields in 2d

&(*&)#)_*#@@(*)(@*)(*@
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.
March 7, 2017

after changing the search template for your custom field you need to perform a reindex , please refer to jira-stattable-searchers wiki and https://bitbucket.org/treymarc/jira-stattable-searchers/issues/13  

Tej March 7, 2017

Thank you! but to what template should I change for number field to display in two-dimensional 

I did re-index too but didn't see any this field in two-dimensional  

Screen Shot 2017-03-07 at 2.29.17 PM.png  

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 7, 2017

Try changing it to "numeric (stats)" - that's the "searcher" that Marc's add-on adds.  (And re-index again, I'm afraid - not a lot we can do about the JIRA architecture here, however clever the code)

Tej March 7, 2017

Thank you, @Nic Brough [Adaptavist] .. it worked smile

 

0 votes
RambanamP
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.
August 12, 2013

if you created those custom fields then do reindex !!

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events