Closed pksunkara closed 1 year ago
The default value for it is 6 during creation if we don't specify it in teamCreate mutation.
teamCreate
mutation Mutation($teamCreateInput: TeamCreateInput!) { teamCreate(input: $teamCreateInput) { team { key name autoClosePeriod } } }
"teamCreateInput": { "key": "NICE", "name": "nice", },
And if we want to disable it, the value that should be sent in teamUpdate mutation is mentioned as null.
teamUpdate
null
mutation TeamUpdate($teamUpdateInput: TeamUpdateInput!, $teamUpdateId: String!) { teamUpdate(input: $teamUpdateInput, id: $teamUpdateId) { team { name key autoClosePeriod } } }
"teamUpdateInput": { "autoClosePeriod": null, }, "teamUpdateId": "NICE",
But if we send null for it in teamCreate mutation, instead of disabling this setting, it defaults to 6 instead.
6
"teamCreateInput": { "key": "NICE", "name": "nice", "autoClosePeriod": null },
Expected It should be disabled during creation if we send null.
The default value for it is 6 during creation if we don't specify it in
teamCreate
mutation.And if we want to disable it, the value that should be sent in
teamUpdate
mutation is mentioned asnull
.But if we send
null
for it inteamCreate
mutation, instead of disabling this setting, it defaults to6
instead.Expected It should be disabled during creation if we send null.