I need to run the batch file in script runner.
def proc ="cmd /c C:\\Program Files\\Atlassian\\Application Data\\JIRA\\scripts\\version.bat".
def command=proc.execute()
This is the command for executing batch file.
But iam getting error.
2018-03-09 07:05:01,996 WARN [common.UserScriptEndpoint]: Script console script failed: java.io.IOException: Cannot run program "cmd": error=2, No such file or directory
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.