Forums

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

prevent subtask creation/issue creation.

140401 kindia
May 18, 2017

Hi Team,

i need help for few of my questions and if its possible then how to implement them .

In JIRA workflow for my client ,i have created grrovy script that creates subtask when parent issue is created but now i wanted to add some constraints when a manual subtask is being created for a parent issue.

1. if autocreated subtask exists with same summary then manually new subtask  should not be created.

2. if my parent issue is makred to done then also it should not allow to create a new subtask manually.

3. parent issue is marked to done, once all subtasks are done then subtasks should not be allowd to move into other status even if transition from done to inprogress does exist.

 

Kinldy provide some code or scripts that can help me achiving above mentioned points.

 

Thanks in advance !

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Antoine Berry
Community Champion
June 21, 2022

Hello @Edimara ,

I have not tried exactly your script but it looks fine, have you checked the logs for any error ?

TAGS
AUG Leaders

Atlassian Community Events