Comments (4)
I believe this is related to Atlassian's change from a "Parent Link" field to the New Parent Field
The init function of Jira-cli configures whatever custom field number your "parent link" was in .config.yml under "link"
epic:
name: customfield_#####
link: customfield_#####
In my company, the old "Parent Link" field is now Locked, and I get the same error you do.
As additional complexity, the new Parent field is not a normal custom field for replacing the ID in .config.yml, but I found someone online saying you can refer to it simply as "parent". I tried updating my config.yml with that and now I get the error "parent: data was not an object", which seems like some type of progress.
Also for the record I tried running init again to see if it'd automatically handle this transition, but it generated the same config file.
I think this is basically a feature request to support the New Parent Field
@ankitpokhrel - apologies if I have anything wrong here!
from jira-cli.
I am having a similar issue. Essentially, in my jira config there are multiple custom fields with the same name. When I try to edit/create this custom field by the name, I get the same error.
Would it be possible to support multiple custom fields with the same name? So that the jira cli would try to find a valid custom field key that exists on the jira issue for all the custom fields with the same name?
from jira-cli.
I'm having the same issue as above with Atlassian's change from a "Parent Link" field to the new Parent Field. With Atlassian replacing the Epic Link field and moving to the parent field the jira-cli needs to use the 'Parent' system field in place of Epic link wherever it is referenced.
Our jira instance is removing Epic Link from the create screen to have only the parent field, this field is also required at the creation level for stories so is very helpful while using this script.
Would be great to get some traction on this!
from jira-cli.
I believe this is related to Atlassian's change from a "Parent Link" field to the New Parent Field
I confirm on my end this seems related to parent field. Commenting out the link: ...
from the config, ignores the --parent
and the issue gets created without a parent.
Workaround: create issue from CLI without parent, then edit (or bulk edit) to assign parent from the UI. 🤷♂️
@ankitpokhrel If you give me some pointers, I could possible open a PR to support the new parent field.
from jira-cli.
Related Issues (20)
- WSL2: can't open jira issue in the browser HOT 8
- Transitioning issue does not work with 'm' using latest 1.4.0 release HOT 3
- How can I get jira status list? HOT 2
- Jira issue list option to view only "my" issues HOT 1
- unable to run jira init HOT 23
- Shell completions zsh not completing HOT 3
- multifunction cli commands
- How to add a Due Date with `issue create` or `issue edit` HOT 3
- jira init "Unable to generate configuration: EOF" HOT 4
- jira init ignores JIRA_AUTH_TYPE and prompts instead HOT 3
- Support JIRA_CONFG env variable HOT 3
- Add support for new parent field as an alternative to linking
- jira init works but nothing else after.
- Bad rendering of Markdown for the description section of a Jira ticket HOT 3
- JSON output option for `issue view` HOT 1
- Some commands show ANSI escape sequences HOT 1
- 404 on createmeta request during `jira init` HOT 1
- issue edit updating description with stdin content with --no-input parameter HOT 3
- `jira issue create` not interactive by default HOT 2
- unable to set parent field
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.