disabling "on the fly" creation of new components and/or versions

 Currently version or component can be created by project admins from create or edit (if version or component is available on the screen) without going to project admin screen. Want to disable this feature Creation of version(s) or component from the create or edit screen. 

For creation version or component should be allowed only from project admin screen. Is this possible?: If yes, please help.

Thanks in advance for the help.

 

1 answer

1 accepted

Accepted Answer
1 vote

The "on the fly" create option for Components and Versions is a feature from JIRA 6.3 onward and project admins should be able to do this.

Disable "on the fly" create option is a pending request https://jira.atlassian.com/browse/JRA-42068

Workaround Sols:

  1. To prevent the users entering data wrongly in the issues, you can validate the versions and components.
  2. Or you can hack the version velocity template file at <<jira_installation_path>>\atlassian-jira\WEB-INF\classes\templates\jira\issue\field\versions-edit.vm
    change data-create-permission="$!{createPermission}"  to data-create-permission="false"

But I strongly suggest not to change any default files.

Thank for your response. It is working

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...

25,436 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