Can I retrieve Jira Product Discovery projects using the Jira API?

Rowan Barrie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 1, 2024

Hi there,

Is it possible to retrieve Jira Product Discovery projects using the Jira API's Get projects paginated endpoint (or another API endpoint)?

I can see that it's possible to retrieve Jira Product Discovery Ideas using the Jira API (from Third-party integrations) but I'm interested in retrieving at the project level.

Thanks,

Rowan

1 answer

1 accepted

3 votes
Answer accepted
Bill Sheboy
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 Leaders.
February 1, 2024

Hi @Rowan Barrie -- Welcome to the Atlassian Community!

What happens when you try to retrieve them with the REST API function?  When I tried it just now the JPD projects were returned.

Kind regards,
Bill

Rowan Barrie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 2, 2024

Hi Bill,

I feel a bit silly for not having tried this first...indeed I get them back when I leave the typeKey query parameter empty.

I was hoping to be able to fetch Product Discovery projects exclusively though - I just tried setting typeKey to `product_discovery` and that seems to work. Having said that the API docs say:

 

typeKey

string

Orders results by the project type. This parameter accepts a comma-separated list. Valid values are businessservice_desk, and software.

Makes me wonder if I should rely on functionality that isn't documented publicly...

EDIT: I notice also that the returned projectType value is null...a bit disconcerting...

Like # people like this
Bill Sheboy
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 Leaders.
February 2, 2024

I do see a value in projectTypeKey for the JPD projects when I search for all of them:

"projectTypeKey""product_discovery"

 

And, because JPD is relatively new, that may be why this type is not yet shown (or accepted) as a parameter value for that order-results expression.

 

Like Rowan Barrie likes this
Aleksandra Leesment
Contributor
July 4, 2024

Still not working sadly

Bill Sheboy
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 Leaders.
July 4, 2024

Hi @Aleksandra Leesment 

What is not working?

When I just tried the lookup from the original question with Jira Cloud, it does filter to only return the JPD projects with the example below:

myJiraURL/rest/api/2/project/search?typeKey=product_discovery

Version 3 of the REST API also works for this.

Kind regards,
Bill

Like Aleksandra Leesment likes this
Aleksandra Leesment
Contributor
September 5, 2024

Hello,

Using the "projectTypeKey" as variable in my API call didn't work but "typeKey" worked! Thank you!

All the best,

Aleksandra

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events