Hi, i'm using Jira Cloud and making some PHP scripts to get information from the instance. I'm retrieving the whole project list with different data. But Project category is missing, or i cannot find it. I need to display in my list the category for every project or projects from only one category.
I read documentation and i cannot find where projects are mixed with categories, i can retrieve project list or category list, but i need them to be crossed. Thanks!
@nicolas.carrivale Welcome to the community!
If you use this API https://developer.atlassian.com/cloud/jira/platform/rest/v3/?#api-rest-api-3-project-search-get
You should receive projectCartegory value with this API.
Please validate results against this page in UI - SITE_URL/secure/project/ViewProjects.jspa
Thanks for the welcome! yes, i'm using that endpoint, and doc says that should display projectCategory, but look at the response i get:
What could it be? Best.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you checked SITE_URL/secure/project/ViewProjects.jspa this page.
This will tell you if you have categories define against projects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, i've checked and i have 11 project categories and different projects with them. Also i'm using an "Archived" category, for unused projects (as Jira cloud doesn't have "Archive" feature). Best.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@nicolas.carrivale This is strange behaviour, I have checked with all the sites that I own and I get projectCategory information on all sites ( I am admin on all sites)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@DPKJthanks! i figured out... there are some projects without category and many of them (maybe because alphabetically) appeared first. I've checked some middle values without success too. I guess that if project has no category, projectCategory would be empty(or maybe category "none"), but when there is no category, there isn't section neither. Best!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@nicolas.carrivale Great going!
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.