Hi, I am getting the following issue:
In network logs I get this error:
{“sentFrom”:“jira.frontend.apollo.gira.error.graphql”,“message”:“[GraphQL error]: Message: The variables input contains a field name ‘customFields’ that is not defined for input object type ‘JiraIssueFieldsInput’ , Location: undefined, Path: undefined”,“event”:{“message”:“"The variables input contains a field name ‘customFields’ that is not defined for input object type ‘JiraIssueFieldsInput’ "”},“buildKey”:“JF-PROD-HOTFIX-3628”,“logTime”:“2022-04-18T08:15:21.956Z”,“browserName”:“Chrome”,“browserVersion”:“100.0”}
Any idea what is wrong?
I updated all dependencies and I used this code:
const createIssueModal = new CreateIssueModal({
onClose: (payload) => {
console.log('CreateIssueModal is closed with', payload);
},
context: {
projectId: '10000',
issueTypeId: '10000',
parentId: '10001', // epic id
summary: 'Issue summary',
description: { version: 1, type: 'doc', content: [] },
environment: { version: 1, type: 'doc', content: [] },
assignee: '61fba7a9530d2a0071479e5d',
reporter: '61fba7a9530d2a0071479e5d',
labels: ['label-one', 'label-two'],
duedate: '2022-02-28',
priority: '2',
components: ['10000', '10001'],
versions: ['10000'],
fixVersions: ['10001']
}
});
createIssueModal.open();
While all values are real (I edited the example from here https://developer.atlassian.com/platform/forge/custom-ui-jira-bridge/createIssueModal/ and replaced the values with real values that correct for the jira instance that I use)
I also tried it without providing context
and got the same issue and error.