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

Unable to create a Program in portfolio using REST API. Edited

I am trying to create a program in portfolio using the below rest api as mentioned in portfolio document ( )

API END POINT : http://localhost:8080/rest/jpo-api/1.0/program

Example :          


  "id": "integer (int64)",

  "title": "string",

  "owner": "string",

  "description": "string"


Request Body :     {

  "title": "PROGRAM",

  "owner": "admin"

  "description": "DESCRIPTION"


I am getting the below error.

Please help me to find a solution for this.


Response Body : 500 Internal server error



    "error": "unexpected-error",

    "errorMessages": [],

    "exception": {

        "type": "java.lang.ClassCastException",

        "message": "com.atlassian.rm.portfolio.publicapi.interfaces.program.ProgramDTO cannot be cast to com.atlassian.rm.portfolio.publicapi.interfaces.planaware.AbstractPlanAwareDTO",

        "stackTrace": [


                "className": "",

                "methodName": "canCreate",

                "line": 19



                "className": "com.atlassian.rm.publicapi.base.api.BaseAPI",

                "methodName": "create",

                "line": 41



                "className": "com.atlassian.rm.portfolio.publicapi.program.ExportedProgramApi",

                "methodName": "create",

                "line": 32



                "className": "com.atlassian.rm.portfolio.publicapi.program.ExportedProgramApi",

                "methodName": "create",

                "line": 17



1 answer

I'm using 3.0.0 version of portfolio add-on and facing the same issue.

Like naveenkumarudp likes this

any update on this?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

281 views 2 7
Join discussion

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