Do we have automation script for removing fix version and Parent when cancelling the issue. i have script for removing assignee, sprint , team and story points. i have added parent and fix version same way, but it didnt work out.
Community moderators have prevented the ability to post new answers.
Hi, you can do this by using Jira automation. Once try below:
4. Action → Edit Issue → Clear Fix Version/s and Parent
There is no clear option for both field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ramesh Krishnan leave the fields empty.
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.
Hi @Ramesh Krishnan @actually it will work. I have implemented in multiple clients. You can use below as well:
advanced JSON
{
"fields": {
"fixVersions": [],
"parent": null
}
}
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.
Dear @Ramesh Krishnan
You can remove both Fix Versions and Parent using the Edit Issue action in your automation rule by enabling advanced field editing.
Use the following JSON:
{
"fields": {
"fixVersions": [],
"customfield_XXXXX": ""
}
}
Make sure to replace customfield_XXXXX with the actual ID of your Parent Link field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i tried below json, but it didnt work out.
{
"fields": {
"fixVersions": [],
"customfield_10014": ""
}
}
Note: customfield_10014 is Parent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Ramesh Krishnan
Fix Version: yes, easy with automation.
Parent: maybe, but first confirm whether you mean normal Parent/Epic parent or Parent Link, because those are not the same thing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My parent is epic and child is story. i would like to remove fix version and parent(epic) for cancelled stories.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gived you already good Advice so Kudos for him :)
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.