Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Custom Field: Project Category

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

2 votes

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()

Thank you Nic 

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you