#19 Add support for changing milestones
Merged by sayanchowdhury. Opened by mbasti.
mbasti/libpagure milestones  into  master

Download 19.patch

Adds method 'change_issue_milestone' that allows to update or remove milestone of an issue

Counterpart of https://pagure.io/pagure/pull-request/2124

we can have the issue_id in the above line itself?

we should check the type of the milestone is str or None.

Looks good to me other than the comments posted

Do you mean
payload = {} if milestone is None else {'milestone': milestone}

or

raising TypeErrror earlier?

rebased

rebased

LGTM. :thumbsup:

Pull-Request has been merged by sayanchowdhury

Metadata