jira-rest-cli-1.1-SNAPSHOT work in progress
12 Apr 2011 Tags:atlassian
,
rest-cli
,
pdk
,
java
At the moment working on jira-rest-cli-1.1 release.
Done already
- console client improved (groovy): understands a whole set of command line options. See client help message below:
$ rest-cli-groovy --help usage: rest-cli-groovy -h <host> -u <user> -w <password> [options] -c,--context <context> application context (e.g.: jira) -d,--drop-session <cli-session-id> will terminate cli session -f,--file <file> will read file and evaluate its contents. use - for stdin -h,--host <host> server hostname -help prints this message -l,--list-sessions list cli session ids -n,--new-session will create new session and exit immediately -p,--port <port> server port. defaults to [80] -proto,--protocol <protocol> http/https protocol; could be derived from port. defaults to [http] -s,--session <cli-session-id> cli session id to connect to -u,--user <user> admin user name to connect with -w,--password <password> password to authenticate with
- class loader problem fixed, now it's possible to use import and reference Jira classes from the scripts. See example below:
import com.atlassian.jira.project.ProjectManager; import com.atlassian.jira.ComponentManager; ProjectManager manager = ComponentManager.getInstance().getProjectManager(); manager.projectObjects.collect { it.name }
- Work on automated configuration deployment (mini-framework started). If you are interested - please track https://github.com/leonardinius/jira-rest-cli/issues/1 and submit comments/u
Plans
---
- Implement automated configuration deployment scripts, pre-alfa stage
- Port (license, reasoning??) Script Runner bundled scripts? Make them rest-callable.
- Get JRuby client to the state of groovy client.
- Documentation and tes
NB. If you've found typos or errors, please suggest a correction or edit on github.