-
Notifications
You must be signed in to change notification settings - Fork 475
gitlab4j#1023 Add Field Iteration to Issue. #1027
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
gitlab4j#1023 Add Field Iteration to Issue. #1027
Conversation
+ Iteration Class + Getter and Setter for Iteration field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks good to me. Just a test case is missing.
private Long groupId; | ||
private String title; | ||
private String descripion; | ||
private IterationState state; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the json, the state is an integer:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the code:
https://gitlab.com/gitlab-org/gitlab/-/blob/4db027c5a18a8638bb0e6103b49010975058a9f8/ee/app/models/iteration.rb#L14-18
It seems that there are only 3 possible values.
private Long sequence; | ||
private Long groupId; | ||
private String title; | ||
private String descripion; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo: Should be description
@KoCoder you did not grant I made the requested changes in jmini@f3cb01c Can you add that to this PR (on the branch Or should I re-create an other PR to get this change integrated? |
Hey, I've just cherry-picked your changes onto our feature branch. |
@jmini |
closes #1023