Auto-creating subtask with postfunction doesn't copy the remaining estimate


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. 

Kind Regards

  Rob Van Pamel

2 answers

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...

This is what i want to do: move the remaining estimate to the first subtask by first-copying it and then remove it from the parent, but this doesn't work. do you have a solution for this?

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.

1 vote

You need to code for it if you want to copy estimates down to subtasks.

Ok, ignore that, you've edited the question to answer the original "don't want to code" point

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

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 ...

393 views 6 0
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you