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

Add "environment" on the issue field #440

Merged
merged 1 commit into from
Feb 20, 2022

Conversation

nansuri
Copy link

@nansuri nansuri commented Feb 18, 2022

Description

Please describe what does this Pull Request fix or add?.

Information that is useful here:

I need this variable in my project to give environment information on the ticket

Checklist

@nansuri nansuri changed the title Update issue.go Add "environment" on the issue field Feb 18, 2022
@nansuri
Copy link
Author

nansuri commented Feb 18, 2022

hi @andygrunwald could you help me to accept this?

@andygrunwald
Copy link
Owner

Hey @nansuri,

can you point us to the documentation that states support for this field?
Thank you!

@nansuri
Copy link
Author

nansuri commented Feb 18, 2022

well i already try this by myself by adding this line to my local go-jira, but there is the doc @andygrunwald https://docs.atlassian.com/software/jira/docs/api/REST/8.6.0/#api/2/issue-createIssue

@benjivesterby
Copy link
Contributor

Looks good to me, the omitempty should keep from any issues with jira versions that do not support it.

@nansuri
Copy link
Author

nansuri commented Feb 19, 2022

seems like the unit test has fail? @andygrunwald

@benjivesterby benjivesterby merged commit b72b610 into andygrunwald:master Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants