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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Using JWT calculated text field in a JQL query

I have a custom JWT calculated text field called "Work Type". The value is either "Product" or "Support". I tried using "Work Type" = "Product" but I get and empty set. I verified some of the values of the calculated field are indeed "Product". How do I use the custom calculated field in a JQL Query? 

3 answers

1 accepted

Hi @Brett Palmer ,

while the hint from @Mirco Fabris is definitely correct as well - please use ~ instead of = - I'd like you to note that after adding this field to an issue, running a JQL statement against the actual value isn't working before another issue updated event or project/Jira reindex has taken place.

Cheers
Thorsten

I tried this too. I did perform a full reindex thinking that might be an issue. Still cannot use the field in a query. I have reverted to an single picker field with a triggered calculation instead of a real-time calculated field. This is not ideal fix though.

Hi @Brett Palmer , 

in order to to do further troubleshooting I probably need 'the full picture', e.g. the exact expression used. Are you able to share?

I suppose the outcome of your calculated field is a string field?

Try: "Work Type" ~  "Product"

I tried that operator and = and != and in and not in. None of them worked. 

It did a full reindex and it started working. I know I did a reindex before too. Anyway, it works now. Thanks.

Hi @Brett Palmer ,

thanks for the feedback. Would you mind accepting my answer then? Thanks in advance!

Suggest an answer

Log in or Sign up to answer
TAGS

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