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

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

"errorDescHtml":"projectId is Invalid."

I get this error when attempting to create a cycle using ZAPI API to create a new cycle. I am pretty sure I am using the right project ID.  Is there a way i can get the reason behind this?

I am doing a post 

{
"environment":"",
"startDate": "",
"versionId": "101008",
"endDate": "",
"name": "LCM Pipeline test cycle ZAPI",
"clonedCycleId": "",
"projectId":"21523",
"description": "Created In ZAPI",
"build": ""
}

 

 

1 answer

I did see the same error message and found Your question.
I know that this is quite an old topic but I will answer anyway for the benefit of others that hit this.
I managed to succeed by changing the method from GET to POST in my case.
It looks like there is a misleading error message that pops even for different type of issues.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,496 views 22 32
Read article

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