Hi Team,
Is there an option to sync field data from an Epic to its related Parent and Sub-Tasks for existing tickets?
I set up an automation using JMWE, but it only works for newly created Jira tickets. I need a solution to copy a specific field (for example, "RDS Team") from the Epic to its related Story and Bug issue types, as well as their related Sub-Tasks. I have a built-in script for ScriptRunner, but I don't think it addresses my scenario. Are there any other options to achieve this?
Hello @Lakshmi CH
I'm Cristiano, with the Appfire team.
Have you tried saving the automation as an Post-Function and schedule it?
I'm gonna leave an script option for Power Scripts below, as well as an link to contact AppFire Support, which also addresses JMWE
The Script using Power Scripts - Jira Workflow Automation.
With the following scripts (which were generated from templates that the app offer)
if(!isNull(parent)) {
customfield_10158 = parent.customfield_10158;
}
string[] subtasks = subtasks(key);
for(string subtask in subtasks) {
%subtask%.customfield_10158 = key.customfield_10158;
}
Then you may easily set up as an automation or an post function for a custom status and just run it or schedule it, the template window really helps with that, as per follow:
here is the link for the Appfire Support Team, you may ask them either about JMWE or Power Scripts.
Regards,
Hello, Good day. You can create a scheduled automation rule to copy the value from Epic to child issues. Then a second scheduled rule to copy the value from child to sub-task type. Once all issue are in sync, then you continue using JMWE for new work items. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mohanraj Thangamuthu ,
Do you have any sample one how to do with the scheduled 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.