When a subtask is created, it inherits the value from a custom field 'Customer' on the parent task via a Post Function 'The value(s) of field Customer will be set from the issue's parent (replacing existing value). This works great!
Later, we found out the parent task was incorrect and we changed the parent value to a different customer but the customer field on the subtasks did not change. This is not good!
How do I get around this?
A couple of options:
Thanks for the quick answer! Sorry to hear this is a limitation though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's correct behaviour - subtasks are issues in their own right, and although grabbing a default from the parent is quite handy when they're created, the fields belong to the subtask, they're not tied to the parent.
You'll need a listener that can catch "parent updated" and run some code to iterate over the sub-tasks and update the values. I don't think there is one of these available for Cloud though.
(This is a weakness in JIRA in my opinion - there should be a way to flag subtask fields as directly inherited from the parent so that they appear, read only, on the sub-tasks, so you can search and sort on them, see them when looking only at the subtasks, and you don't have to think about maintaining them)
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.