Forums

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

Create filter for current project.

Mike Zampini
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!
September 28, 2018

Been trying to create a general purpose global filter that returns information for only the current project.  What I don't want to do is create filters for every project and I don't want the data for other projects to show up when I am working in the current project.

 

Perhaps something like "Project = CurrentProject() and Status = Open"

 

Would like to use this in reports as well as on the dashboards.

1 answer

0 votes
Nic Brough -Adaptavist-
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.
September 28, 2018

You can't do this, and you don't want to anyway.

This is because "current project" does not exist until you are in one.  On a dashboard, or a search and all the other places that are not explicitly part of a project (i.e. a single issue or the project screens) you don't know what the current project is, because it could be anything.

To turn it on its head - what is the "current project" when I've run a search for "issue type = bug"?  "All of them" is clearly wrong, as is any one project because I've looked for things across projects.

There is "last project I looked at", which could be used with a bit of code, but that's going to give you nightmares in reporting.  Imagine user A looks at ABC-123 and then goes to the system dashboard which uses "last project".  Now imagine user B looks at XYZ-456 and goes to the dashboard.  They're going to see different reports on what should be the same data.  That is obviously terrible for them.

I would like to see project dashboards - tabs in the project view alongside component, version, settings, boards etc that you can add gadgets to that all assume a filter starts with "this project".

Mike Zampini
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!
September 28, 2018

Thanks, Nic-

One of the objectives is the automation of release notes, we have added fields for what we want to include and how we want to say it.  

Release notes need to be for a targeted project.  Jira knows when I am in a project, the pane on the left turns white.  Blue for global and Black for settings.

Not all of our projects are "AGILE" some are very regulated and need a prescribed rigorous workflow for each issue and we are audited on this workflow.

Nic Brough -Adaptavist-
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.
September 28, 2018

Ok, that's fine, you have a project context for release notes.  Release notes are generated by version in Jira, and versions belong to projects, so when you go to the "create release note", it knows what the project is because it's for a version.  So you don't need "current project", as you already have it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events