Forums

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

How know current project

Luis A. Vicente February 15, 2019

Hello, I would like to know how to create a filter for the issues of the current project

Thank you

4 answers

1 accepted

0 votes
Answer accepted
Moses Thomas
Community Champion
February 15, 2019

@Luis A. Vicente @Warren   I guess   he want  to  filter all issue  updated recently for  current  user

You  could do  like this    

 updated > = -1w  AND   assignee =  CurrentUser() order by updated ASC

This query  gives you  issues currently updated  within the last 7days  and issues are assigned to  current user  and ordered  in ascending order. Other wise  you need to  ask question correctly  or explain what  you are trying to  do so  that we can help  you else  we cant.

 

Best regards,

Moses

Luis A. Vicente February 17, 2019

Hello, You are right, like Warren. 

I try to create a base project to create other projects and when I create a new project, Jira copies the filter, and this filter is about the base project. So, every time I create a new project I have to change the filter. I guess it's inhabitable.

Moses Thomas
Community Champion
February 18, 2019

@Luis A. Vicente  Yep  they   share configuration since you  are creating these  projects  base on  Base project.  You  will  have to  change filters  manually sorry.

but you  can  also  create other projects separately instead of using  shared configuration  with  the  Base project.

0 votes
Luis A. Vicente February 15, 2019

Thank you very much for your answers, but I explained myself wrongly. I do not want to know for a particular project, I want for the current one, like currentuser....

Warren
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.
February 15, 2019

Hi @Luis A. Vicente 

The concept doesn't exist, because JQL queries are run outside of a project, so what is the current one?

Currentuser is the logged in user, wherever you are in Jira, but you generally use JQL from a point outside of any project.

Possibly you could tell us what you're trying to do, rather than asking us to help with the solution that you have in mind. What specifically are you wanting to achieve?

I hope that this is clear

Luis A. Vicente February 17, 2019

Hello, Thank you very much and you're right, better explain what I'm doing ....


I try to create a base project to create other projects and when I create a new project, Jira copies the filter, and this filter is about the base project. So, every time I create a new project I have to change the filter. I guess it's inhebitable.

0 votes
Warren
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.
February 15, 2019

Hi @Luis A. Vicente 

You haven't really given much info about what you're trying to do. At it's simplest, you would use

project=ABC

where ABC is the project key. This will return ALL the issues for that project, which is what you seem to be asking for.

0 votes
Moses Thomas
Community Champion
February 15, 2019

@Luis A. Vicente  Easy  just  type 

 

project = A

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events