Forums

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

Removing prior values of custom field from an issue

Sonu Bhatia
Contributor
July 21, 2022

I created a custom field (free text format) and entered a value in that field for specific story tickets. However, when I clear that value on some of the tickets and create a filter by that value, it includes the story tickets where that value was previously entered.

How can I hide the tickets where this value no longer exists?

2 answers

1 accepted

0 votes
Answer accepted
padraik
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.
July 22, 2022

A few questions:

  • is "CMR #[Short text]" ~ CR-03967 the entirety of your JQL query or is there more?
  • Does that field CMR #[Short text] contain a lot of text, and you want the filter to pick the issue up if "CR-03967" is in there somewhere?  Or does it only contain the CR-## 
    • If the field ONLY contains the "CR-03967" you could try switching your operator from ~ to =

Tou mentioned "while the 3rd one now shows blank value in the list" so you could also append AND "CMR #[Short text]" is not null
to your query.

Sonu Bhatia
Contributor
July 24, 2022

Thanks Padraik......adding "CMR #[Short text]" is not null to my existing query worked in hiding the ticket where CMR field was blank. Appreciate your suggestion!!!

padraik
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.
July 25, 2022

Happy to help!

0 votes
John Funk
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 21, 2022

Hi Sonu - Can you share an example? Because it should definitely not show issues in a filter that that have no value in the field and the filter is based on the field. Can you share the filter? 

Sonu Bhatia
Contributor
July 21, 2022

Hi John, here is the JQL I used: "CMR #[Short text]" ~ CR-03967

This filter lists 3 Jira ticket.....2 of them still have the CMR # custom field tagged with the value of "CR-03967", while the 3rd one now shows blank value in the list, but is still part of the filter list.

Sonu Bhatia
Contributor
July 22, 2022

So it seems like once a value is input in this custom field, even if it is removed later, it is still part of that ticket and pulls it up during filter search.

John Funk
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 23, 2022

This sounds like it might be a caching issue with your browser. But let's do this

Run the JQL and include the custom field in the columns displayed. And then do a screenshot and post here. 

Sonu Bhatia
Contributor
July 24, 2022

Hi John,  here is a screenshot for the query and the search list. 

As you can see, the 2nd issue in this list has no value displayed for the CMR# custom field.

 

Null value for CMR field.PNG

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events