I am new to Automation for Jira and trying to determine if it is possible to solve this problem...
I want to compute the value of a custom field in an issue based on the values of fields in one or more subtasks. In this case, the parent has a field for "Average" that should be computed from each of the sub-tasks, which contain a single value.
Is this even possible with the plug-in?
Specifically:
- Issue type A which contains the fields "Average", "STDDEV", "MIN", "MAX"
- Subtasks of A contain a field "Value"; there may be one or more subtasks, hence an unknown number of values to include
- The task is to update the custom fields in Issue A with the computed average of the values in all subtasks. So, if there are 3 subtasks, we would have the average of all three values.
Concerns:
- It does not appear possible to reference the value of a field in a subtask to use as part of a computation. If I use a branch to loop over subtasks, I cannot access the other subtask values that are needed for the computation.
I would love to see an answer to this question. I suspect there is a way to solve this but I can't figure out how yet.
The question is a bit confusing but yes this should be possible, you can work with "if / else" or "custom field" condition and do different things based on the value of the custom field
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.