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

0 votes

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,342 views 2 7
Join discussion

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