I'm trying to set the "Parent Link" field on an Epic that I'm creating with automation. Parent Link does not show up in the list of available fields on Create Issue so I am using the Additional Fields JSON block to set it.
I've tried a number of things and gotten two different errors. First I tried:
{
"fields": {
"parent Link": "{{issue.key}}."
}
}
Error: Error creating issue
And next I tried:
{
"update" : {
"customfield_<parentLink Field ID>" : [{"set" : "{{issue.key}}"}]
}
}
Error: Unknown fields set during create, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -
I've grabbed the name and ID of the field to be sure I am referencing the name correctly. When that didn't work I tried making changes to casing.
I've confirmed that the Parent Link field is on the Issue create screen for Epic.
I know that this question is from a while ago, but stumbled upon this question when I ran into the same issue.
I had success with the following Json:
{
"fields": {
"customfield_00000": "{{issue.key}}"
}
}
Where "customfield_00000" uses the number of your custom field.
Welcome to the Atlassian Community!
The question has confused me, the summary reads like you are trying to apply a parent to an Epic (so to a layer in Advanced Roadmaps above it). But the body sounds more like you are trying to add a base-level issue into an Epic?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your question @Nic Brough -Adaptavist-
I am manually creating a "Highest Milestone" Issue. The creation of an issue triggers my automation to create an epic and link that epic as the child of the "Highest Milestone" that triggered the automation.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.