Skip to content
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

Is support for creating issues with custom fields available? #35

Closed
mdamir opened this issue Sep 26, 2016 · 6 comments
Closed

Is support for creating issues with custom fields available? #35

mdamir opened this issue Sep 26, 2016 · 6 comments

Comments

@mdamir
Copy link

mdamir commented Sep 26, 2016

No description provided.

@andygrunwald
Copy link
Owner

@mdamir @shannonrdunn Not in master (yet), but it seems that #36 is tackling this issue.
Does it solve your use case?

@andygrunwald
Copy link
Owner

Should be solved with the merge of #36.
If not please reopen.

@dontrebootme
Copy link
Contributor

@andygrunwald Is there a way to show a simple example of issue create with a custom field? I'm not understanding, do I need to create new instance of tcontainer.MarshalMap?

@andygrunwald
Copy link
Owner

andygrunwald commented Nov 4, 2016

@dontrebootme You don't have to use thetcontainer.MarshalMap.

You can use the InitIssueWithMetaAndFields function.
See here for a real world example: https://github.com/cloudflare/complainer/blob/master/reporter/jira.go#L125

@ltwojcik-zz
Copy link

What would the correct syntax be for creating an issue with a custom field and that data needs to be in an array?

{"errorMessages":[],"errors":{"IT Teams":"data was not an array"}}

Unknowns: tcontainer.MarshalMap{
"customfield_11882": "Something",
},

@rbriski
Copy link
Contributor

rbriski commented Mar 8, 2018

This issue is closed. Please open another issue with the question and provide the code that's failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants