Discrepancy while using WAS and ON operator

Hi all

Is there a difference between
status = "Needs More Info" 
status WAS "Needs More Info" ON now()

I was under the assumption both should return the same results (current bugs with that particular status) However I noticed they dont in few cases.(when the status are customized) 

Is my assumption incorrect. I also tried using during with future dates. It returned the same discrepancy. 

Rohan 

2 answers

0 vote
status = "Needs More Info"

is what will get you the issues with the given status now. I don't know how WAS and ON works but seems that is not doing the job for you wink

I wanted to have a query which gives status at any particular day. So I was running WAS "Needs More Info" ON "date" . Where date was being replaced by a script with an appropriate date value. However the result does not match status = Needs More Info which does not make sense. 
It works for some status not for few customized status onle 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

212 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you