To create subtask only by a person or a group

Gaurav July 27, 2021

Hello,

For a project, is it possible to prevent all users to create subtask but only specific user or group?

I want to allow only one person or a group who can create subtask. Rest of users to be prevented to create subtasks.

Thanks.

GK

2 answers

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 28, 2021

There's no easy way to do it, and the hard way to do it is ugly and unfriendly.

If someone can create issues in a project, then they can create sub-tasks (of any type) on any issue.  The permission is a project level thing, not issue-type level.

You can implement it with a little bit of code or an app.  If you set up your sub-tasks to use a different workflow from the other issue types, then you can add a "validator" to the "create issue" transition in that workflow.  A validator can contain code like "if person is in group, then pass this, else fail".  A failed validator will stop the creation, and give the user a message about why it has failed.  This is unpleasant for people because they've probably put perfectly good data into a new issue form and they're going to lose it all.

0 votes
Ruslana Smirnova July 28, 2021

Hi!
I only know that when you have an appropriate issue security level given by the administrator, you can restrict access to that issue to members of your team or part of a chosen security level. So only these people can create sub-tasks. 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 28, 2021

That's not quite the right place to look.  Issue security is about hiding issues that would normally be seen by everyone with the rights to see the project issues.

If you set a security level on an issue, it hides it from people not authorised by the security level.  So yes, someone would not be able to create a sub-task on an issue if the issue is secured, but only because they can't see the issue at all.

Like # people like this

Suggest an answer

Log in or Sign up to answer