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
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
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:
typeKeystring
Orders results by the project type. This parameter accepts a comma-separated list. Valid values are
business
,service_desk
, andsoftware
.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Using the "projectTypeKey" as variable in my API call didn't work but "typeKey" worked! Thank you!
All the best,
Aleksandra
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.