Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I set the display columns for a filter result?

Jack Becker
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 7, 2020

I am trying to include a column in my filter results and am unable to do so.  The attribute I want to include is called "Status."  However my project uses a large number of attributes that include the word status.  If i select the Columns pulldown on the filter results page and type Status to bring up that attribute to add it gives me a sub-list of attributes with the word Status in them and then says there are 15 more such attributes available and I should keep typing to narrow down the list.  It refuses to list the attribute just called Status or to list all the matches.  Obviously, there is nothing further I can type to narrow the list because the full name is just Status.  This is a very important attribute for my displays and I can't figure a way to select it.  My project manager refuses to rename the attribute or remove some of the other attributes that include the word.

2 answers

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Champion
June 7, 2020

Hi Jack, so that is most unfortunate about you PM’s position. It is a very poor idea to have duplicate field names especially if there is already a system default field name like Status. As you have found it leaves the Columns auto-complete drop down sort of broken. You really need to rename all non-system Status fields to something else. For example, maybe you have different status fields based upon projects in which case maybe project-status nomenclature.

0 votes
Mike Gerdts
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2021

I was able to get through this with a bit of client side creativity.

  1. Open the column selector menu, type Statu (no s), observe the problem described.  Leave it in this state 
  2. In chrome, open developer tools
  3. Select sources
  4. Rummage through sources until I found one that said "more options"
  5. Ask for it to be pretty-printed at the top of the source window
  6. Rummage around for a while looking for a way to tweak the expression to only match things that are an exact match
  7. _filterAndAddOptions as something interesting at line 32546.  Set a breakpoint there.
  8. Type "s" in the column selector text area so it now says "Status"
  9. While eyeballing the matchingStrategy expression, I noticed maxInlineResultsDisplay, a couple of times.  That was set to 25, I changed it to 250.
  10. Disable the breakpoint, then click the "run" button
  11. Notice that there are two fields named "Status".  I'm sure the person that gave the first answer would be unhappy with some PM where I work. :)  Select the first one, as it seems built-in fields seem to come before custom fields.

Screen Shot 2021-09-03 at 6.35.06 AM.png

Suggest an answer

Log in or Sign up to answer