-
Notifications
You must be signed in to change notification settings - Fork 0
fix createmeta issue on jira 9.x #1
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
Conversation
6f55094
to
c6c8ff2
Compare
* Jira changed the format of the call to createmeta * config.yml should default to old way * add a jira server version variable to config.yml to tell cli which method call to make
205adfb
to
3c01795
Compare
Hey @prpht9 are you still actively using this tool and plan to continue fixint the createmeta change? Otherwise I would start to work on that as well |
@tim-goto I am still actively using the tool daily. This patch works great for me. I was hoping to get some movement on my issue from the upstream repo maintainer(s). But it's just sitting there, I'm guessing abandoned. I don't mind keeping this createmeta part up to date with Jira Server 9.x but I'm not a Golang dev so maintaining the entire app is a bit over my head. If you'd like me to just merge this to my fork, I can do that so we can at least use the master branch for builds. Let me know which way you want to head. |
confirmed working by k-wall in go-jira issue 490. Merging |
Thanks for getting back to me! I think I just had issues with custom fields and I thought your patch is still missing the third part of step 2 |
@tim-goto Mine adds custom fields via a $HOME/.jira.d/templates/create and my epics require a name which is a custom field as well. they all work fine. I just created an epic this morning and a customfield_10006: for the epic name was in the template. Haven't even looked at that code since Dec 2022, so can't remember how that works exactly. |
looked at your link and I think my code has fixed that problem. |
if you don't mind me asking: what does the json template output for jira create? I get the following:
I used to get the entire json with all possible fields and allowed values for that.. Also, which jira version are you on? I am on 9.10.2 |
@tim-goto My output is the same as what you posted above. but I think that's because we've overridden the default template. Plus my config file overrides the login and project. We're on Jira v9.2.0. My create template looks like this...
|
Need to allow both versions to function
Need a configuration item to indicate which url/method to call
Need to write the new method to conform to the new api method format
Need new jiradata type because the api endpoint changed the output json schema
slipscheme -stdout schema/IssueTypes.json > jiradata/IssueTypes.go