-
-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to set parent field #738
Comments
I'm seeing a similar problem. Except when I try and set the parent I end up with an error
|
Maybe @ankitpokhrel has any lead |
@electriquo @SleepyBrett |
@jcstorino Although I tried, I couldn't understand what did you mean. Could you please share a concrete example? |
Sure...
Open this file and look for the project key, below must exist another key with name "type", change its value to "next-gen" and test again the creation of an issue with the --parent option. It worked for me.
|
@jcstorino Thanks. Change from project:
key: TDC
type: classic to project:
key: TDC
type: next-gen Will try it later on this week and let your know. |
@jcstorino Works like a charm :) How did you know that this is what's need to be changed? |
@electriquo I forked the repository and have been studying Go in my free time, I like and use this client a lot, so I started studying the sources and found this trick. |
@jcstorino Many could benefit from your findings. I think you should contribute this to the documentation since the parent field became fundamental for managed projects. I'll keep this issue open, if you decide to open a PR (so you could link between the two) that will close this issue. Otherwise, let me know and I will close the PR immediately. |
Hi @jcstorino, any update? |
@electriquo Maybe change the default value in the client configuration? Since this is not asked in the tool config ... I'll try to do that |
Hi @jcstorino, any progress or should I close the issue? |
@electriquo Yes, you can close it, I will contribute to the documentation later. Right now I have little time to prepare it. |
TL;DR - make sure you've changed the Just a note to others who've run into this issue... I edited the top of my config file: ---
board:
id: 127
name: BiggerDeals/Growth
- type: classic
+ type: next-gen And was confused when this change didn't work. Turns out I didn't read the advice above properly - the next-gen setting was only for the Then I looked harder and found this at the bottom of the file: project:
key: BIG
type: classic I changed the :) |
Describe the bug
Creating an issue with parent field or parameter does not work.
Browsing the issue in the browser, I see that it does not have the parent field. So I tried to analyze the fields of the created issue using the API and as you can see, the parent field was not set.
I repeat the analysis on an issue with the parent field set correctly
Clearly, that in the browser I did not set all these values for the parent field. The parent field is a select box to pin an issue that is the parent (some call this an epic), such as selecting ISSUE-12345 (see the screenshot below).
Then I tried to look for the custom field in the CLI configuration
So I tried setting this custom field by editing the issue, but got an error
Both the parent and the parent-link fields does not apply for the ticket even when the
--parent
option was used.How can I set the parent field to value such as ISSUE-12345 using the CLI?
How do I find the parent field type (maybe it has to do something with the configuration, see Caveats at the Additional context below)
Please provide following details
To Reproduce
See description.
Expected behavior
The parent field to be set and once set, it must be listed in
jira epic list <parent issue number>
.Screenshots
This how the parent field look in the browser
Additional context
The text was updated successfully, but these errors were encountered: