In an automation rule I am using the Create Issue action to create a subtask. Within the action I am attempting to set the LinkedIssue field to an existing issue. Although the LinkedIssue field is enabled for the subtask issue type in my project, the link is not being created. The audit log shows the following error:
Unknown fields set during create, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -
Linked Issues (issuelinks)
I have tried adding the link both directly by choosing a field to set, and with JSON in Additional Fields. Both ways return the same error.
Does anyone know why I'm getting this error even though the Linked Issues field is enabled for this issue type in my project?
Found the solution in another community post: Automation for JIRA - Linking issues.
For others, the Linked Issues field (or any field used in automation actions) needs to be on the associated screen (e.g. create or edit). Adding the field to the create screen resolved this issue.
Just speculating, but it sounds like issue screens are used for validation, etc. in the rule actions. Wouldn't be surprised if the same is true for imports.
I was having exactly the same issue, and adding the linked issue field to the create screen solved it.
Too bad, I can't "hide" this linked field on this issue creation step. It really doesn't make any sense to have it in my application, at this point.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.