How to use create Subtask Post fuction Edited

My main problem I used this create Sub-Task post fuction in Workflow Under Create button .

My Project  Key -TEP i had taken condition as issue.project.objectkey=="TEP"

Action with issue type-Sub -Task

Problem is when i creating the issue no sub task is created Automatically could please give a solution how get subtask automatically when i create a issue in jira




Create Sub task Problem.png

1 answer

0 votes

Can you confirm that

  • the TEP project contains the "sub-task" issue type, 
  • that the issue you are running the transition for is a standard issue type, not a sub-task type?

No Nic they are Sub task type only and that TEP project contains Sub task Issue type

OK, you'll need to look at the logs to see what happens when you try to run that transition

What i have to do with that logs what i can found in that logs

That's the question.  I need to see what the logs say when you try this transition.

log files are showing like this what i have to do nextsubtask failure.png

My guess is that you're trying to run this on a sub-task issue type already.  Which will fail because a sub-task can't be a parent.

iam trying to add for parent issue type to get sub task created automatically and subtask also in the issue type schem which is assigned to the project.

The error you are seeing in the log implies there is no parent issue to attach the sub-task to, which would only happen if the post-function were running on an issue that was not a parent type.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 11 hours ago in United States

Administrators Cleanup

Good morning, After a long weekend cleaning up, I am still in the cleanup mode 😊. I am curious to know: When do you feel the urgency to cleanup your Atlassian Tools? How many times do y...

16 views 0 0
View post

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