JQL Query = project = "Portal" OR project = "Tasks" AND assignee = [my user name]
above query gives result where in Assignee currently is other than [my user name]. all issues some time in past were assigned to [my user name] for some time.
how to extract data only for [my user name]
@Sreenivasaraju Paanswer will help you.
The problem with your query is that jql executes and-statements vefore or-statements. This means you query is equal to:
project = "Portal" OR (project = "Tasks" AND assignee = [my user name])
It gives you issues which are either in project Portal (and assigned to anyone) or in project task and assigned to you.
What would also work to fix your jql is the use of parenthesis :
(project = "Portal" OR project = "Tasks") AND assignee = [my user name]
@Sreenivasaraju Pjjql is a short version withe the IN operator but means exactly the same.
With kind regards
Mario
great -- that worked -- Many Thanks..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My pleasure.
With kind regards
Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can correct your query as shown below. Both the queries work. Recommend the second query
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want only issues currently assigned to you ...
...AND assignee = currentuser()...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.