Git Product home page Git Product logo

Comments (4)

fine-fiddle avatar fine-fiddle commented on May 28, 2024 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.
Screenshot 2024-01-08 at 14 33 13

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.

ZilvinasAbr avatar ZilvinasAbr commented on May 28, 2024 1

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.

engineersamwell avatar engineersamwell commented on May 28, 2024 1

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.

pdeschen avatar pdeschen commented on May 28, 2024 1

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.