Forums

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

how to i get the 'current project' in jql when releasing version?

YC September 18, 2023

i would like to move tickets with fix version to another status upon release. 

i would be releasing from the project's Release page, ex:

https://atlassian.net/projects/CURRENT_PROJ?selectedItem=com.atlassian.jira.jira-projects-plugin%3Arelease-page

 

how do i reference 'current project' in the jql, so i can change status of the jiras?

example jql:

> status = 'dev complete' and fixversion is not empty and project = CURRENT_PROJ

 

i am able to accomplish this by choosing 'single project' scope, but i have ~50 jira projects to apply this to upon releasing.

> status = 'dev complete' and fixversion is not empty and project = API

 

 

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
September 18, 2023

Hello @YC 

Welcome to the Atlassian community.

Are all the projects this affects Company Managed projects?

Do the project all use the same status to indicate "dev complete" and to indicate "done"?

If so, you could set up a Global Automation Rule triggered on a version being Released and then transition all the issues in the release to "done"

YC September 18, 2023

ugh, how could i have missed that. thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events