Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • What happened to the graphql api call that gets the jira product discovery project configuration?

What happened to the graphql api call that gets the jira product discovery project configuration?

Hussein Dbouk March 28, 2024

The graphql api call (jira_polaris_ProjectQuery_reduced) used to return the configuration of the jira product discovery project with a list of fields found in the project, whereas now it's returning an empty array.
I have an old JPD project and applied the graphql api call on it , it returned the list of fields perfectly , I created another JPD project today and the api call returned an empty list of fields even tho i'm sending the exact same payload

Endpoint : your-jira-base-url/gateway/api/graphql

payload : 

{
"operationName": "jira_polaris_ProjectQuery_reduced",
"query": "query jira_polaris_ProjectQuery_reduced($ari: ID!, $isShareViewDialogEnabled: Boolean!) {\n polarisProject(id: $ari) {\n ...EdgeProjectConfigReducedGQL\n __typename\n }\n}\n\nfragment EdgeProjectConfigReducedGQL on PolarisProject {\n __typename\n id\n name\n key\n rankField\n onboarded\n selectedDeliveryProject\n viewsets {\n id\n name\n type\n views {\n ...EdgeView\n __typename\n }\n viewsets {\n id\n name\n type\n rank\n views {\n ...EdgeView\n __typename\n }\n __typename\n }\n __typename\n }\n fields {\n ...EdgeField\n __typename\n }\n ideaTypes {\n __typename\n id\n name\n iconUrl\n }\n issueLinkType {\n merge\n delivery\n datapoint\n __typename\n }\n statusCategories {\n id\n colorName\n key\n name\n __typename\n }\n arjConfiguration {\n parentCustomFieldId\n epicLinkCustomFieldId\n storyPointsCustomFieldId\n __typename\n }\n arjHierarchyConfiguration {\n title\n issueTypes\n __typename\n }\n avatarUrls {\n x16\n x24\n x32\n x48\n __typename\n }\n onboardTemplate\n onboardedAt\n}\n\nfragment EdgeView on PolarisView {\n __typename\n id\n xid\n name\n emoji\n description\n uuid @include(if: $isShareViewDialogEnabled)\n containsArchived\n immutable\n visualizationType\n lastCommentsViewedTimestamp\n sortMode\n hideEmptyGroups\n hideEmptyColumns\n groupBy {\n id\n __typename\n }\n verticalGroupBy {\n id\n __typename\n }\n groupValues {\n ...EdgeGroupValue\n __typename\n }\n verticalGroupValues {\n ...EdgeGroupValue\n __typename\n }\n sort {\n ...EdgeSorted\n __typename\n }\n fields {\n id\n __typename\n }\n hidden {\n id\n __typename\n }\n filter {\n ...EdgeFilter\n __typename\n }\n tableColumnSizes {\n ...EdgeColumnSizes\n __typename\n }\n fieldRollups {\n ...EdgeFieldRollups\n __typename\n }\n matrixConfig {\n axes {\n dimension\n field {\n id\n __typename\n }\n fieldOptions {\n ...EdgeGroupValue\n __typename\n }\n reversed\n __typename\n }\n __typename\n }\n timelineConfig {\n startDateField {\n id\n __typename\n }\n dueDateField {\n id\n __typename\n }\n mode\n startTimestamp\n endTimestamp\n __typename\n }\n rank\n viewSetId\n enabledAutoSave\n layoutType\n createdAt\n}\n\nfragment EdgeColumnSizes on PolarisViewTableColumnSize {\n field {\n id\n __typename\n }\n size\n __typename\n}\n\nfragment EdgeFieldRollups on PolarisViewFieldRollup {\n field {\n id\n __typename\n }\n rollup\n __typename\n}\n\nfragment EdgeSorted on PolarisSortField {\n order\n field {\n id\n __typename\n }\n __typename\n}\n\nfragment EdgeFilter on PolarisViewFilter {\n type: kind\n field {\n id\n __typename\n }\n values {\n ...EdgeFilterValue\n __typename\n }\n __typename\n}\n\nfragment EdgeFilterValue on PolarisViewFilterValue {\n stringValue\n numericValue\n operator\n __typename\n}\n\nfragment EdgeGroupValue on PolarisGroupValue {\n __typename\n label\n id\n}\n\nfragment EdgeField on PolarisIdeaField {\n __typename\n id\n builtin\n fieldId\n jiraFieldKey\n label\n editable\n sortable\n formula\n description\n emoji\n decorations {\n id\n valueRules {\n value\n operator\n __typename\n }\n valueDecoration {\n emoji\n backgroundColor\n highlightContainer\n __typename\n }\n __typename\n }\n presentation {\n type\n __typename\n }\n ... on PolarisIdeaSpecialField {\n specialType\n __typename\n }\n ... on PolarisIdeaOptionField {\n options {\n id\n label\n weight\n __typename\n }\n __typename\n }\n ... on PolarisIdeaOptionsField {\n options {\n id\n label\n weight\n __typename\n }\n __typename\n }\n ... on PolarisIdeaArchivedField {\n archivedOption {\n id\n label\n weight\n __typename\n }\n __typename\n }\n ... on PolarisIdeaPlayField {\n play {\n id\n kind\n label\n parameters\n __typename\n }\n __typename\n }\n ... on PolarisIdeaExternalReferenceField {\n configuration\n __typename\n }\n ... on PolarisIdeaIntervalField {\n configuration\n __typename\n }\n}\n",
"variables": {
"ari": "ari:cloud:jira:JIRA-CLOUD-INSTANCE-ID:project/PROJECT-ID",
"isShareViewDialogEnabled": true
}
}

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events