I am using JMWE and have tried the following:
could you please help?
And this is the Create transition of the sub-tasks workflow, right? Then it should work. But don't forget the Component/s field will only be set _after_ the sub-task is created, not on the creation screen. And it might take a few seconds for the value to appear.
Hi, this is on the create of the main workflow (where the Issue Types are Story, Bug, Epic, Sub-task), I also tried creating a separate workflow at some point with a simple create for subtasks but still it didn't work, maybe I got something wrong there?
-- should I clone the main workflow, create the post function and update the Issue Types of this to only include Sub-tasks?
No. The parent and subtask can follow the same workflow and your configuration should work. Make sure you have published the workflow. If they follow a different workflow then make sure you place this post-function on the "Create" transition of the subtask workflow. If you still cannot fix it please raise a ticket with us here https://innovalog.atlassian.net/servicedesk/customer/portal/10
Thank you! still no luck. I have published the workflow and my main workflow has the post function added to it (as shown above, I also tried moving the post function to the end but no difference). I will create a ticket. Do you know roughly how long i will have to wait? Thanks
Ok I think the problem is that the component field in the subtask is compulsory as I just tested the 'assign to reporter' post function and it successfully assigned my new sub-task to me... so perhaps I should remove the component field as compulsory from the sub-task. Any idea how to do that? I guess I need another schema for the fields? thanks
Well if the component/s was mandatory you will not even be allowed to create the ticket without providing the component. So the chance of that being the reason is zero.
Add a delay of a few seconds to the Copy field value from parent post-function. Save the post-function. Publish the workflow and retry. Refresh the subtask and see the results.
You can create the support request now. I will take care of it. Please enable "DEBUG" log level in JMWE logs page (https://innovalog.atlassian.net/wiki/spaces/JMWEC/pages/142018631/JMWE+logs#JMWElogs-Logginglevel) of your instance, create a subtask and share the issue key with us over the support request.
Have you been looking for a solution to easily create Confluence pages directly from a Jira Cloud issue? The no code solution is here with the brand new app Elements Publish to Confluence, which work...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events