JQL query for status change from one status to another status is not working properly

Mallikarjuna
Contributor
October 29, 2024

I tried with this query its not giving correct result

issuetype = xyz and (status changed from submitted to "xxx" OR status changed to "xxx") and status changed by xxx

4 answers

0 votes
Andreas Lorz
Contributor
October 31, 2024

Hi @Mallikarjuna ,

when you say "is not working properly", you mean the query is not working at all and you get an error? Or it doesn't deliver a proper result wich you found out by looking on some sample issues?

Looking at this part of the query:

status changed from submitted to "xxx" OR status changed to "xxx"

Maybe you might expacting that you find all issues that were in status submitted and changed to either the "first xxx" or the "second xxx". But to achive this it has to be

status changed from submitted to "xxx" OR status changed from submitted to "yyy"

0 votes
Marc - Devoteam
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.
October 29, 2024

Hi @Mallikarjuna 

What should the result be.

This JQL will get all issues from type xyz, transferred from submitted to xxx and all issues from type xyz changed from any status to xyz 

Both related to the status changed by a user xxx

0 votes
Manon Soubies-Camy
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 29, 2024

Hi @Mallikarjuna,

What result are you expecting with this query? If you want issues that were transitioned:

  • From submitted to status xxx by user xxx
  • or to status xxx by user xxx

Then you'd need to update your query to:

issuetype = xyz and (status changed from submitted to "xxx" by xxx OR status changed to "xxx" by xxx)

Hope this helps!

- Manon

0 votes
Valeriia_Havrylenko_SaaSJet
Atlassian Partner
October 29, 2024

Hі @Mallikarjuna  

Try this:

status changed from ("A","B","C") to ("X","Y","Z")

That workʼs for me :)

Suggest an answer

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

Atlassian Community Events