I want to install and run JIRA Command Line Interface. Because i want to update Issue Type Scheme using client API . How can i do it?
I think it's all described there
Best regards
Thomas
How to configure these two files
jira.bat
@echo off
rem remember the directory path to this bat file
set dirPath=%~dp0
rem need to reverse windows names to posix names by changing \ to /
set dirPath=%dirPath:\=/%
rem remove blank at end of string
set dirPath=%dirPath:~0,-1%
rem - Customize for your installation, for instance you might want to add default parameters like the following:
rem java -jar "%dirPath%"/lib/jira-cli-2.6.0.jar --server http://my-server --user automation --password automation %*
java -jar "%dirPath%"/lib/jira-cli-2.6.0.jar %*
rem Exit with the correct error level.
EXIT /B %ERRORLEVEL%
jira.sh
#!/bin/bash
# Comments
# - Customize for your installation, for instance you might want to add default parameters like the following:
# java -jar `dirname $0`/lib/jira-cli-2.6.0.jar --server http://my-server --user automation --password automation "$@"
java -jar `dirname $0`/lib/jira-cli-2.6.0.jar "$@"
Im running on
Server - http://localhost:8080/
User Name - userna
password - 123123
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
An action is the thing you want to do with the CLI. Please please read the documentation and the examples: https://bobswift.atlassian.net/wiki/display/JCLI/JIRA+Command+Line+Interface;jsessionid=25FE48CCC395B2AB640C6E31E7FF5E12#JIRACommandLineInterface-Installation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i did that but it gives this error
Error: Parameter 'action' is required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
but how can i run
jira --action addComponent --project "TESTQQ" --name "hahahaha" --description "a generic description"
this command
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just type it at your command prompt. Are you sure you really want to use a Command Line Interface ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's working fine for http://localhost:8080/
but i have jira instance deploy in remote server. when im run that command it gives this error
-Dell-System-Vostro-3450:~/Downloads/atlassian-cli-2.6.0$ ./jira.sh --action updateProject --project "ALELMDEV" --workflowScheme "10020"
Remote error: '10020' not found as a workflow scheme.
there exits workflow scheme for id 10020
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what is the name of the workflow scheme ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
and did you try to enter this name instead of the id 10020 ? If you have two Jira instances, it is very likely that your workflow schemes have different ids
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.