Forums

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

Jira Automation - Capture the Project Category

Naga Raju Adapa March 16, 2023

Hi All,

How to capture the previous Epic Link's Project category from a Story. I'm able to capture the Epic Link from changelog, But I want the Project category of capture Epic Link

2 answers

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.
March 16, 2023

Welcome to the Atlassian Community!

You probably don't want to do this.  Your issue will look wrong if a project changes category.

0 votes
Dave Mathijs
Community Champion
March 16, 2023

Hi @Naga Raju Adapa welcome to the Atlassian Community.

A project category is linked to a project, not to an issue. In that case you can use a JQL condition:

category = <category name>

Or have you created a custom field called "Project category"?

Naga Raju Adapa March 16, 2023

Hi @Dave Mathijs Thanks for the response, I'm trying to capture it from the Jira Automation. The Use case is, I need to capture and validate the Epic Link's Project category of a Story when changing from Open --> In Progress.

Kelly Arrey
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.
March 17, 2023

As an aside, why would you need to "validate" the project category every time a story moves to In Progress? How often does your project category change?

Naga Raju Adapa March 17, 2023

Hi @Kelly Arrey The requirement is, Validate the Story and it's Epic are from the same Category or not. Epic Link field is added in Transition screen of Open --> In Progress. So if Epic is not from the same Category of Story (it can be from different Project, but should be same category), then change the transition back to Open and clear the Epic link..... Is my requirement.

I'm able to capture the Epic Link from changelog, but unable to get the Project category of that Epic.

  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events