Comments (5)
Here is an example of the types for the project I found this issue on originally.
["issuetype","array","string","project","option","timetracking","any","date","user","priority","issuelink"]
It looks like just strings should be okay, as my guess is all of these would have to be typed as strings for the JSON request anyways.
from jira-cli.
This could be fairly easy to implement as you said, however, I'm thinking how we can implement this when creating issues without the interactive mode, any ideas?
from jira-cli.
One temporal solution, if the project and issue type are provided and it has additional fields, enter into the interactive mode to ask for those required fields: jira create -p PK -t bug -m "My issue name"
(ask for the required fields interactively) what do you think?
from jira-cli.
Maybe provide a "generic" flag where you could pass some kind of set of key value pairs for the additional fields, maybe just a plain old JSON object (which would be cleaner to parse, but might be harder to type). I don't know about the flag parsing library you are using, but if you are allowed to repeat flags, you could do like -c "key: value" -c "key2: value2"
to allow for multiple fields to be input.
The "go-to-interactive" thing seems like a decent stopgap, but looses some of the power you get to automate things when you have everything as a flag.
from jira-cli.
@allout58 that sounds good, and it's supported by commander, now I'm thinking about the data type, is it always text?
from jira-cli.
Related Issues (20)
- Transition name is ignored when passed to `jira i <name> --transition` HOT 5
- Adding label option when creating task
- jira issue create: seems like an invalid command HOT 1
- Allow connection to server using self-signed cert
- Allow to select user when assigning an issue HOT 1
- Any chance we can get a new release?
- Can't assign issue with GDPR strict mode on
- `jira issue $ISSUE_NAME` -> TypeError
- jira show [ISSUE] shows raw text and markup
- GPDR strict mode
- 1.2.1 is a breaking change
- Trouble installing after cloning HOT 1
- Saved credentials must be in directory from which jira cli is executed
- [Feature request] Add option to export pure text, without decoration like table or color
- "npm WARN" deprecated dependencies listed when installing
- [bug] output is broken
- can it be converted into a binary release instead of using a nodejs runtime?
- Json (yaml) structured output.
- Access to local hosted server with token fails unless anonymous HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jira-cli.