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

Retrieve projects in "Category" using REST

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!

2 answers

1 accepted

1 vote
Answer accepted
DPK J Community Leader Feb 10, 2020

@nicolas_carrivale  Welcome to the community!

 If you use this API

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.

0 votes
DPK J Community Leader Feb 10, 2020

Have you checked SITE_URL/secure/project/ViewProjects.jspa this page.

This will tell you if you have categories define against projects.

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.

DPK J Community Leader Feb 10, 2020

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

Screenshot 2020-02-10 at 3.41.10 PM.png

@DPK Jthanks! 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!

Like DPK J likes this
DPK J Community Leader Feb 10, 2020

@nicolas_carrivale  Great going!

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