I am trying to copy a custom field value from parent issue (story) to (subtask) when the field value is updated:
This is what i used for an automation rule and Json code but i get an error
Can anyone please help with that?
Welcome.
What type of custom field is product categorisation, single select, multi select, etc..
Is this field on the screen used by the sub-task?
Hello Marc, thanks for your reply!
yes i made sure it's in the screen used by the subtask, and almost every project/screen where all the issue types are part of. It's a select list (cascading)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ahmed Yousif -- Welcome to the Atlassian Community!
Adding to Marc's suggestion...
That appears to be a cascading selection field, and so the JSON syntax is different:
And...you may need to use conditional logic to handle the possibility when the parent-value is set and the child-value is not.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bill,
Thanks for your reply, i have used the cascading Json as suggested and it worked.
now i have couple of rules that do the following seamlessly:
One challenge is:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By default, the actions of one rule do not trigger other rules. This is to prevent errors and accidental rule recursion.
For example, you have a rule triggered on updates to the Epic to update the Story, but by default that will not fire the rule triggered on updates to the Story to update the Subtasks.
When you want one rule's actions to trigger another, in the downstream rule, enable this option in the rule details, and test fully:
Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule.
Please try enabling this option in your rule which updates the Subtasks when the Story's field changes.
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.