Hi there,
im trying to find a solution for following usecase:
In case of a Defect we use Subtasks for Analysis, Execution and Verification. Each of the subtasks has a field "Description of Done" (as all other issuetypes too). I´d like to copy the values from Subtasks to parent fields and map them to the Fields "Description of Analysis", "Description of Execution", "Description of Verification".
What would you suggest?
bg,
Andy
solved it myself...
You're going to need
A little bit of thought on how to deal with clashes. Say you have two subtasks with different values, do you just take the data from the last updated one, or do you set up the parent fields to accumulate values? Do you de-duplicate, and so-on
Secondly, you've not specified when you want to do it, but I'd guess a post-function or maybe listener is the most likely place.
Finally, once you've made those decisions, the answer is that you'll need to find or write some code to do this. I'd use the script runner as usual.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thx for your Reply!
for clarification: i use seperate Issuetypes for the Subtasks "Analyse", "Execution" and "Verification"
You´re right, i need this as a postfunction.
So every time a Subtask is done, the value of field "Description of done" shall be copied to the sorresponding field in the parent issue (Description of Analysis, Execution, Verification)
Because there could be more than one Analysis - Subtask, i Need to accumulate the values.
Is there an example for Script Runner (im just a beginner...)?
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.