Forums

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

Custom Field: Project Category

Davor Fisher
Contributor
August 9, 2018

I am building reports in JIRA  and I am looking to include project category as a column in order for end users to better understand where the issues in reports are located in; I could add the projects as a column, but that wouldn't make sense for end users who will be looking at the reports as most of projects are custom named by teams in JIRA.

Could it be possible to build a custom groovy field that will look at the project category and place it on the single/multi line custom field?

 

 

2 answers

3 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.
August 9, 2018

Yup, there's a one liner if you're happy with simple text for the field.  Create a scripted field, and give it:

return issue.getProjectObject().getProjectCategoryObject().getName()

0 votes
Davor Fisher
Contributor
August 15, 2018

Thank you Nic 

Suggest an answer

Log in or Sign up to answer