Add post-function on initial transition

Hi everyone,

I've tried to add a post function on the initial transition of my workflow. I used the function called "The value(s) of field Status will be set from the issue's parent (replacing existing values)." to set status field of a sub-task like parent's status.

This post function is the first on the post-function list, before the "Creates the issue originally." but it's not working.

Is there anything that I'm missing?

Regards,

Delphine

1 answer

0 votes

Yes, you can't set the status of an issue like that.  You need to use transitions to change the status of an issue.

Ok I understand the idea of transition to change the status of an issue. 

But I don't know how to do this in my case : Is there any way to create a sub-task with the same status of the parent ?

There are some addons that provide "create subtask" as a post-function, but I think they all create subtasks using the create transition for the subtask issue type. So that would be a "yes", as you could set the parent and child workflows to land on the same created state. But I don't know if any of them are available on Cloud

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,893 views 19 22
Read article

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