When creating a new issue, I need to clear the parent field. Parent link should be empty.
I have tried multiple options like
{
"fields": {
"parent": null
}
}
and
{
"update" : {
"Parent Link" : [{"set": []}]
}
}
does not seems to work.
can you please help to sort the issue out.
Hello @Abhishek Kalamkar
It seems like you might be trying to do this in an Automation Rule. Is that the case? If so, please show us the complete automation rule and output from the Audit Log from the rule's execution.
What type of issue are you creating?
The Parent Link field normally contains an issue key. What type of issue is being specified by the issue key value that is in the field, that you are trying to clear?
Hi @Trudy Claspill ,yes, I am trying with an automation rule. please find the automation rule that I am using. I have tried multiple ways in advanced editing field but no luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Abhishek Kalamkar
I see that the issue for which you are trying to clear this field is custom type you have named "New Feature".
Is this part of an extended issue hierarchy that was created in Jira Premium? If so, can you show us the Issue Hierarchy configuration page?
May I ask why are you trying to clear this field on a newly created issue? If this is part of an extended issue hierarchy, the parent of an issue is set only when the issue is created as a child of another issue through the roadmap Plan. If the issue was created as a child of another issue, why are you trying to immediately remove it from the parent issue?
Also, not that "Parent" and "Parent Link" are two separate fields. "Parent Link" is the field used to designate the parent issue for issues from Epic upwards. "Parent" is the field used to designate the parent issue for a subtask or the parent Epic of a standard issue type. Which field are you actually trying to clear?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Trudy Claspill : Thank you for your response. please find the issue hierarchy. I am trying to clear the "Parent Link" field not the "Parent" field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To clear the "Parent Link" field this worked for me:
{
"fields": {
"Parent": null
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OMG, this works. Trust me, I have tried the same code other day but wasn't working. Thank you @Trudy Claspill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to help.
If your issue has been solved please consider marking the Answer as Accepted to help other users find posts with validated solutions.
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.