Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sub-task not created on issue state change

Pranay Verma
Contributor
October 6, 2021

Hi Community,

I have a post function written as a part of my project workflow, which basically creates sub-tasks with the parent issue headline. 

Here's what it does:
The workflow traverses from design->build->test phase. I've set these functions up at the transition branches, so when a user changes a story type from build to test or from design to build, it creates some sub-tasks for each test functionality that the user is supposed to perform. 

I've recently upgraded the jira version to 8.13.5. From what I can tell, before the upgrade, the status used to change and along with that, the sub-tasks after creation used to pick the headline from the parent task and likewise associate with it properly.

Now, the status changes correctly, but no sub-tasks get created, and there's no error that I can see anywhere. 
I can also confirm, that I'm editing the correct workflow and its rightly associated with the project.

Attaching the snapshot of my post function for reference.Post function.PNG

Any help in terms of where to look at exactly, or is it some known bug that's a part of this release?

Thanks,

Pranay. 

2 answers

1 accepted

1 vote
Answer accepted
Pranay Verma
Contributor
October 7, 2021

I've managed to resolve this now. I'd upgraded the java version along with the version change to adoptopenjdk-11. I've changed it to openjdk-1.8.0 now. Turns out jira version 8.13.5 wasn't compatible with this version of java. 

Thanks,

Pranay

0 votes
Suvarna Gaikwad
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 6, 2021

@Pranay Verma Only possibility I can think of as of now is to check Issue Type scheme associated with said project and check if Sub-task is in scope of that project. 

Pranay Verma
Contributor
October 6, 2021

@Suvarna Gaikwad I can confirm that Sub-task is in scope of this project. 

Pranay Verma
Contributor
October 7, 2021

Changed the java version on the backend and it works now.

Like Suvarna Gaikwad likes this

Suggest an answer

Log in or Sign up to answer