Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to limit developers to only create sub-task issue type?

Hi all, I have defined various issue types. However, I want the developer groups to only create sub-tasks only? Please help how I can achieve this?

1 answer

1 vote

Natively, you can't.  "Create issue" allows a user to create any type of issue in a project.

There are some tricks, including

  • Javascript (clunky, hard to write, hard to maintain, and a doddle to get past)
  • Injected javascript by add-ons, such as the Behaviours module in ScriptRunner.  (Yes, I work for Adaptavist, but that's the only one I actually know of that does it.  There may be others.  You can still bypass it, but it's easier to handle)
  • Don't stop them starting the creation, but block it when they click create after entering the data.  This is usually done by making them fail a "validator", although in some cases you can do it by making a field mandatory for the issue type and then not letting those users have it on screen.

Hi nic for option two can you give us an example using ScriptRunner Behaviors ?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you