Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Create ideas with the Jira Product Discovery API

Clayton Read
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!
September 22, 2023

Is this possible yet?
Can we create ideas using the API?

2 comments

Nick Haller
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 22, 2023

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"
       }
   }
}  

 

Like # people like this
Alex Tsai
Contributor
November 13, 2023

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

Owen Friedrich
Contributor
October 10, 2023

We recently migrated from Aha to JPD and used the native Jira API to create all of the Ideas in JPD. Worked really well.

Alex Tsai
Contributor
November 3, 2023

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

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events