Can we make condition : subtask can be create in specific status
On Jira Cloud, you can't do this out-of-the-box, but with the help of an app such as JMWE, you could add a Validator on the Create transition to throw an error when the user attempts to create a sub-task of an issue that isn't in the desired status(es).
The Create sub-task command will still be present though, and the error will only be displayed once the user submits the sub-task creation screen.
This is not possible out of the box and I have only seen this for server with the scriptrunner add-on.
Here’s a sample for server: https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-Restrict-Creation-of-Subtask-based-on-IssueType-in-JIRA/qaq-p/525797 in your case, you will switch to checking parentIssue status.
I hope this helps get you started.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.