Is this possible yet?Can we create ideas using the API?
Hi @Clayton Read ,
There is no public Jira Product Discovery specific API, but the regular Jira Cloud API definitely allow you to create issues (here, ideas) in any project.
You can check https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post
I was able to create a JPD idea via Postman using a body such as this:
{ "fields": { "project": { "key": "<projectKey>" }, "issuetype": { "name": "Idea" }, "summary": "Created via Postman.", "description": { "type": "doc", "version": 1, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hello World" } ] } ] } }}
For more on that formatting - at least related to the description field - these other Community posts might help as well:
Getting Error: "Operation value must be an Atlassian Document"
Operation value must be an object from issue create for description field
Something as simply as this should also work too if no custom fields are required:
{ "fields": { "project": { "key": "<projectKey>" }, "summary": "API Idea via Postman", "issuetype": { "name": "Idea" } }}
We recently migrated from Aha to JPD and used the native Jira API to create all of the Ideas in JPD. Worked really well.
@Owen Friedrich when you migrated did you have any fields that were select fields or were they all text fields. If you did have select fields how did you pre-define the values within the select list field.
@Nick Haller I just want to make sure it's possible to use Jira API v3 to create an idea that contains list fields. Also, for the list fields does the value have to be already in PD? Right now, we have not been successful at importing.
It looks like you're new here. Sign in or register to get started.