How to add validator on convert 'task => sub-task' fonctionality

Hello, 

I have created a validator in a specific JIRA plugin to not allow subtask creation when "parent" task has some specific attribut.

It's work, no problem.

My question is about the functionality "convert a task in a subtask".

Where can I add my validator in the workflow (or other) to not allow the creation if my validator throw an exception ?

Thanks for your help.

Antoine

 

 

 

 

2 answers

0 votes

Convert to sub-task is not a workflow action, and there is nowhere to hang validation on.

Hi Nic,

can we add validation while 'moving' from one issue type to another issue type?

Best,

Suri

Same answer, as "convert to (sub)-task" is the same as a "move while changing issue type"

Hello Nic,
That's what I thought, thanks for your response.

Best,

Antoine

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 7 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

96 views 0 0
Read article

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