sweetfa
sweetfa

Reputation: 5855

Query all issues for the currently active project in Jira

I would like to create a general query that is active in the web interface that selects all issues for the currently selected project.

For example if I have two projects

to select all issues for PROJ1 I would create a query

Project = PROJ1

However, if I have a multitude of projects I need to create a query specific to that particular project.

What I would like to do is create a query such as

Project = CurrentProject

Is there a query syntax that allows me to do such a thing?

Upvotes: 4

Views: 1710

Answers (2)

Mandera
Mandera

Reputation: 3017

This must be new because I cannot find anyone mentioning it, this works nicely for me

project = "{{ project.name }}"

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-projects/

Upvotes: 0

laika
laika

Reputation: 1497

As far as I know, the Create JQL currentProject() function issue is still unresolved.

However there exists CurrentProjectFunction plugin on MarketPlace which gives you following ability in JQL:

project = currentProject()

Upvotes: 6

Related Questions