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?
Thanks in advance
Looking at the two issues you have in your question
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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()"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Hope you can see where I'm coming from.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you go to Issues -> Custom Fields and find there the Project category field and tell what type it is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.