I am using a middleware to connect via the API. I continue to receive a "[400] Specify a valid project ID or key" whenever attempting to create an issue using the below API calls Any ideas:
{
"fields": {
"assignee": {
"id": "{{89.owner_email}}",
"duedate": "{{3.`DE:Launch Date`}}",
"project": {"id": "14505"},
"summary": "{{3.name}}",
"description": {
"content": [
{
"content": [
{
"text": "{{3.`DE:The Ask?`}}",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
},
"customfield_15408": {
"content": [
{
"content": [
{
"text": "{{3.`DE:Business Impact`}}",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
},
"priority": {
"id": "{{89.priority_jira_value}}"
},
"issuetype": {
"id": "7"
},
"reporter": {
"id": "{{89.owner_email}}"
},
"assignee": {
"id": "{{89.owner_email}}",
"customfield_18130": {
"id": "{{89.owner_email}}"
},
"customfield_10205": "{{3.name}}",
"customfield_10004": "{{89.story_points}}",
"labels": "[{3.`DE:Jira Labels`}]",
"components": "[{3.`DE:Jira Labels`}]",
"issuelinks": "{{3.`DE:Jira Issue Link`}}",
"customfield_26582": "{{3.`DE:iAttach`}}",
"customfield_26621": "{{3.`DE:Outcome Renewal iGCR`}}",
"customfield_26620": "{{3.`DE:Outcome New iGCR`}}",
"customfield_26622": "{{3.`DE:Outcome GPV`}}",
"customfield_26623": "{{3.`DE:iRR`}}",
"customfield_26624": "{{3.`DE:iCVR`}}",
"customfield_23819": "{{3.`DE:Creative Delivery Date`}}",
"customfield_24800": "{{3.`DE:Estimated Financial Impact $`}}",
"customfield_15121": {
"id": "{{89.business_unit_jira_value}}"
},
"customfield_21400": {
"id": "{{89.seo_value}}"
},
"customfield_16519": {
"id": "{{89.type_of_change_jira_value}}"
},
"customfield_20800": [
{
"id": "{{89.regional_marketing_jira_value}}"
}
],
"customfield_17909": {
"id": "{{89.mops_needed}}"
},
"customfield_23818": {
"id": "{{89.categories_of_work}}"
},
"customfield_26305": {
"id": "{{89.experiment_theme}}"
},
"customfield_15844": {
"id": "{{89.site_pod_name_jira_value}}"
},
"customfield_26577": {
"id": "{{89.value_type}}"
},
"customfield_23501": {
"id": "{{89.business_alignment}}"
},
"customfield_23104": {
"id": "{{89.international_testing}}"
},
"customfield_25401": {
"id": "{{89.design_work}}"
},
"customfield_26576": {
"id": "{{89.functional_area}}"
}
}
}
}
}
}
OR this call
{
"fields": {
"assignee": {
"id": "62cf6b196eba719837223722",
"project": {
"id": "14505"
},
"issuetype": {
"id": "7"
},
"assignee": {
"id": "62cf6b196eba719837223722",
"reporter": {
"id": "62cf6b196eba719837223722"
},
"components": [{
"id": ""
}],
"priority": {
"id": "{{89.priority_jira_value}}"
},
"summary": "{{3.name}}",
"customfield_18130": {
"id": "{{89.owner_email}}"
},
"customfield_10205": "{{3.name}}",
"customfield_10004": "{{89.story_points}}",
"labels": "{{3.`DE:Jira Labels`}}",
"issuelinks": "{{3.`DE:Jira Issue Link`}}",
"customfield_26582": "{{3.`DE:iAttach`}}",
"customfield_26621": "{{3.`DE:Outcome Renewal iGCR`}}",
"customfield_26620": "{{3.`DE:Outcome New iGCR`}}",
"customfield_26622": "{{3.`DE:Outcome GPV`}}",
"customfield_26623": "{{3.`DE:iRR`}}",
"customfield_26624": "{{3.`DE:iCVR`}}",
"customfield_23819": "{{3.`DE:Creative Delivery Date`}}",
"customfield_24800": "{{3.`DE:Estimated Financial Impact $`}}",
"customfield_15121": {
"id": "{{89.business_unit_jira_value}}"
},
"customfield_21400": {
"id": "{{89.seo_value}}"
},
"customfield_16519": {
"id": "{{89.type_of_change_jira_value}}"
},
"customfield_20800": [{
"id": "{{89.regional_marketing_jira_value}}"
}],
"customfield_17909": {
"id": "{{89.mops_needed}}"
},
"customfield_23818": {
"id": "{{89.categories_of_work}}"
},
"customfield_26305": {
"id": "{{89.experiment_theme}}"
},
"customfield_15844": {
"id": "{{89.site_pod_name_jira_value}}"
},
"customfield_26577": {
"id": "{{89.value_type}}"
},
"customfield_23501": {
"id": "{{89.business_alignment}}"
},
"customfield_23104": {
"id": "{{89.international_testing}}"
},
"customfield_25401": {
"id": "{{89.design_work}}"
},
"customfield_26576": {
"id": "{{89.functional_area}}",
"description": {
"type": "doc",
"version": 1,
"content": [{
"type": "paragraph",
"content": [{
"text": "{{3.`DE:The Ask?`}}",
"type": "text"
}]
}],
"customfield_15408": {
"type": "doc",
"version": 1,
"content": [{
"type": "paragraph",
"content": [{
"text": "{{3.`DE:Business Impact`}}",
"type": "text"
}]
}]
}
}
}
}
}
}
}