I created a post-function which automatically created a subtask. This is done correctly but the remaining estimate is not copied to the subtask.
I tried to do this based on the workflow extension by adding another postfunction but it just don't works.
Rob Van Pamel
My question would be why you would want to do this? It only makes sense (to me :o) if you only have a single subtask (but see my comment about double-dipping below as well), in which case why make a subtask at all?
If you have more than one subtask, the remaining time would probably be split between the subtasks. If you code this, consider moving the remaining estimate to the first subtask so you don't "double-dip". Just my $0.02...
I suspect the problem is in "this doesn't work". You need to explain what your post-function code is doing and what error messages you get (if any). Then we might be able to tell you what you've got wrong in the code or assumptions you've made.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs