Automation | Error updating issue fields - 'Unknown fields set during edit, they may be unavailable for the project/type'
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Automation is failing to update any field on issue and showing error. Example while updating "Description" getting following error (but same error with other fields too):
Unknown fields set during edit, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -
Description (description)
No fields or field values to edit for issues (could be due to some field values not existing in a given project)
Environment
- Jira Cloud
- Automation
Diagnosis
Ran the following checks and all were false:
- No duplicate 'Description' field is available
- 'Description' field was added to the screen of the issue
Cause
This can also happen due to "Workflow Status Properties" i.e jira.permission.edit.<project role>.
This property blocks editing of the issue in the status where this property is added. Users who are members of the specified project roles only can edit the issue.
Solution
There are few different ways of handling this :
- Remove the properties from workflow
- Change Actor of the automation and add someone who is part of project roles who are added in properties
- Add automation to properties or to project role which have edit access