Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

"project": "Specify a valid project ID or key"

 {    "expand""projects",    "projects": [        {            "avatarUrls": {                "16x16""",                "24x24""",                "32x32""",                "48x48"""            },            "id""10005",            "issuetypes": [                {                    "description""A small, distinct piece of work.",                    "iconUrl""",                    "id""10002",                    "name""Task",                    "self""",                    "subtask"false,                    "untranslatedName""Task"                },                {                    "description""A small piece of work that's part of a larger task.",                    "iconUrl""",                    "id""10003",                    "name""Sub-task",                    "self""",                    "subtask"true,                    "untranslatedName""Sub-task"                },                {                    "description""Functionality or a feature expressed as a user goal.",                    "iconUrl""",                    "id""10001",                    "name""Story",                    "self""",                    "subtask"false,                    "untranslatedName""Story"                },                {                    "description""A problem or error.",                    "iconUrl""",                    "id""10004",                    "name""Bug",                    "self""",                    "subtask"false,                    "untranslatedName""Bug"                },                {                    "description""A big user story that needs to be broken down. Created by Jira Software - do not edit or delete.",                    "iconUrl""",                    "id""10000",                    "name""Epic",                    "self""",                    "subtask"false,                    "untranslatedName""Epic"                }            ],            "key""CJCTP-42",            "name""C2M JIRA CONNECTOR TEST PROJECT",            "self"""        }    ]}

I'm trying to create a new issue, using the meta data above. but I keep getting the error "project": "Specify a valid project ID or key"- I tried substituting the project id with XXX-234 , 50001, XXXx please help me exactly what is it looking for?



1 answer

1 accepted

0 votes
Answer accepted

@Saba Ghani -

Hi Saba:

In your code, it seems to be referring to the project ID (


Is that your intended project?

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Hi @Joseph yes- but this doesn't work either.

@Saba Ghani -

Go to your project UI > Project settings > Details, you will be able to get the PID in the URL address bar from your broswer.  You should be able to use it in your script.

If you are creating an issue, then you should not specify the issuekey in your script.

Hope this helps.

Best, Joseph

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

172 views 6 7
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