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

Sreenivasaraju P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 6, 2016

 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

1 vote
Answer accepted
Bharadwaj Jannu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 6, 2016

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.

Sreenivasaraju P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2016

Thank for your response. It is working

Michael Kornatzki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 3, 2020

Hi,
to set data-create-permission="false" is not working anymore.

Do you find another solution?

Kind regards,
michael

Raynard Rhodes April 1, 2020

I tried it on my instance today and it worked.

Suggest an answer

Log in or Sign up to answer