Forums

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

Project Categories missing from issues when viewed in a filter

Jaspreet Manghera
November 7, 2018

I have recently assigned project categories to all my projects. However, when I view all completed issues for the current month some issues within the same project have the project category missing and some have the correct project category

What is going on here? Is there a delay to this operation? Or is there something that I have overlooked with regards to issues and project categories?

Untitled.png

 

Thanks in advance

2 answers

1 accepted

1 vote
Answer accepted
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 Champions.
November 7, 2018

Looking at the two issues you have in your question

  • Where does the "project category" appear on the screen when you look at JCF-2877?  (If it appears at all?)
  • Is there a custom field in your installation called "project category"?
  • What is the difference between the two issue types?  Look especially at the issue screen scheme and the field configuration
Jaspreet Manghera
November 7, 2018

Ah I see you are correct there is a custom field called project category at the project settings level and issue level. For the one issue, someone explicitly set the field value thats why it was working in my filter.

Thanks for pointing me in the right direction.

Now I will have to look into how can issues of a project inherit those custom field values.

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 Champions.
November 7, 2018

Ok, not quite.  The "project category" on the project is a category field that is built in, it's not a custom field.

You can actually already use the "project category" in searches - it's shortened to "category" so you can use the JQL "category = 'Crowdfunding'"

That doesn't come out on issues themselves, but in cases where it's needed, I usually use a scripted field that says simply "return issue.getProjectObject().getProjectCategory().getName()"

Jaspreet Manghera
November 7, 2018

Ah that makes sense. 

So my original filter (which I was using on a Pie-Chart on my dashboard) is simply impossible to use "category" as a "statistic type" because it's open-ended free-text and not a list. So the only way I can fix the pie chart is use a different field and ask everyone to keep it up-to-date (yea right), or to purchase an addon from the marketplace so that I can script it's parent project's category.

I appreciate your help Nic I've learnt a ton. Hopefully this helps somebody else. Thank you!

It just feels bad that we have to fork out for yet another app to make Jira work.

1 vote
Alexey Matveev
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 Champions.
November 7, 2018

Hello,

What is the Project Category field? Why do you think it inherits value from the project category? I guess, it is a custom field, which you fill somehow.

Jaspreet Manghera
November 7, 2018

Hi

When I go to the project settings for these issues (JCF-XXXX) I can see this screen. Therefore I thought that any subsequent issues would indeed inherit this value. I don't understand how this is a custom field as you say.

Untitled2.png

 

Hope you can see where I'm coming from.

Alexey Matveev
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 Champions.
November 7, 2018

Could you go to Issues -> Custom Fields and find there the Project category field and tell what type it is.

Jaspreet Manghera
November 7, 2018

Yep, I found it. It's an options list that I should have checked beforehand. It's not related to the actual category of a project and that's why it confused me. All clear now. Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events