Forums

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

Quesry project Lead = currentUser

Edoardo Acitorio
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2020

How i can create query where the projects Lead is equal the current User?

I can show all open problems  of all project where i'm the project lead, but i'm not the assignee of Problem?

2 answers

2 accepted

2 votes
Answer accepted
Antonio Dionisio
Contributor
March 4, 2020

You can use the following JQL function to check the issues in the projects where you are the project lead:

 

project in projectsLeadByUser()

 

Reference: https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/

Edoardo Acitorio
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2020

project in ("EMAK SUPPORTO (20IS3020/0008)","SYNTERACT SUPPORTO (20IS3020/0016)")

In this way, the word project is RED and the save Button in disable

project in (projectsLeadByUser())

In this way, the word project and the word projectsLeadByUser() are RED and the save Button in disable

project in projectsLeadByUser("vvagnotti")

In this way, all words are RED and the save Button in disable

Antonio Dionisio
Contributor
March 4, 2020

The save button will be disabled until you perform the search (i.e: click the search button). The words in red are most probably spell checking by your browser so don't hesitate in usin the function and click search. Any validation message will appear below the jql if there is something wrong.

1 vote
Answer accepted
Jack Nolddor _Sweet Bananas_
Atlassian Partner
March 4, 2020

Hi Edoardo_Acitorio,

using Advanced searching you can do the following:

 

Search for open problems of all project where i'm the project lead, but i'm not the assignee

 

type = Problem AND status = Open AND (assignee != currentUser() OR assignee IS EMPTY) AND project IN projectsLeadByUser()

 

> Note that you must tune the above query as per your needs.

 

Kind Regards

Suggest an answer

Log in or Sign up to answer