René's URL Explorer Experiment


Title: Set miletone to an issue · Issue #612 · python-gitlab/python-gitlab · GitHub

Open Graph Title: Set miletone to an issue · Issue #612 · python-gitlab/python-gitlab

X Title: Set miletone to an issue · Issue #612 · python-gitlab/python-gitlab

Description: I'm not able to set the milestone to an issue: >>> import gitlab >>> gitlab.__version__ '1.3.0' >>> gl = gitlab.Gitlab('https://dev.domain.tld', 'xxx') >>> p = gl.projects.get(30) >>> i = p.issues.get(9364) >>> i.save() >>> i.milestone =...

Open Graph Description: I'm not able to set the milestone to an issue: >>> import gitlab >>> gitlab.__version__ '1.3.0' >>> gl = gitlab.Gitlab('https://dev.domain.tld', 'xxx') >>> p = gl.projects.get(30) >>> i = p.issues....

X Description: I'm not able to set the milestone to an issue: >>> import gitlab >>> gitlab.__version__ '1.3.0' >>> gl = gitlab.Gitlab('https://dev.domain.tld', '...

Opengraph URL: https://github.com/python-gitlab/python-gitlab/issues/612

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Set miletone to an issue","articleBody":"I'm not able to set the milestone to an issue:\r\n```\r\n\u003e\u003e\u003e import gitlab\r\n\u003e\u003e\u003e gitlab.__version__\r\n'1.3.0'\r\n\u003e\u003e\u003e gl = gitlab.Gitlab('https://dev.domain.tld', 'xxx')\r\n\u003e\u003e\u003e p = gl.projects.get(30)\r\n\u003e\u003e\u003e i = p.issues.get(9364)\r\n\u003e\u003e\u003e i.save()\r\n\u003e\u003e\u003e i.milestone = 1812\r\n\u003e\u003e\u003e i.save()\r\nTraceback (most recent call last):\r\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\n  File \"/usr/lib/python2.7/dist-packages/gitlab/mixins.py\", line 312, in save\r\n    server_data = self.manager.update(obj_id, updated_data, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/gitlab/exceptions.py\", line 253, in wrapped_f\r\n    raise error(e.error_message, e.response_code, e.response_body)\r\ngitlab.exceptions.GitlabUpdateError: 400: {\"error\":\"title, description, assignee_ids, assignee_id, milestone_id, discussion_locked, labels, created_at, due_date, confidential, state_event are missing, at least one parameter must be provided\"}\r\n```\r\n\r\n1812 is the milestone iid.\r\nI also tried with:\r\n\r\n```\r\n\u003e\u003e\u003e m = p.milestones.get(1812)\r\n\u003e\u003e\u003e m\r\n\u003cProjectMilestone id:1812\u003e\r\n\u003e\u003e\u003e i.milestone = m\r\n\u003e\u003e\u003e i.save()\r\nTraceback (most recent call last):\r\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\n  File \"/usr/lib/python2.7/dist-packages/gitlab/mixins.py\", line 312, in save\r\n    server_data = self.manager.update(obj_id, updated_data, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/gitlab/exceptions.py\", line 251, in wrapped_f\r\n    return f(*args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/gitlab/mixins.py\", line 227, in update\r\n    return self.gitlab.http_put(path, post_data=data, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/gitlab/__init__.py\", line 827, in http_put\r\n    post_data=post_data, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/gitlab/__init__.py\", line 685, in http_request\r\n    prepped = self.session.prepare_request(req)\r\n  File \"/usr/lib/python2.7/dist-packages/requests/sessions.py\", line 407, in prepare_request\r\n    hooks=merge_hooks(request.hooks, self.hooks),\r\n  File \"/usr/lib/python2.7/dist-packages/requests/models.py\", line 305, in prepare\r\n    self.prepare_body(data, files, json)\r\n  File \"/usr/lib/python2.7/dist-packages/requests/models.py\", line 445, in prepare_body\r\n    body = complexjson.dumps(json)\r\n  File \"/usr/lib/python2.7/json/__init__.py\", line 244, in dumps\r\n    return _default_encoder.encode(obj)\r\n  File \"/usr/lib/python2.7/json/encoder.py\", line 207, in encode\r\n    chunks = self.iterencode(o, _one_shot=True)\r\n  File \"/usr/lib/python2.7/json/encoder.py\", line 270, in iterencode\r\n    return _iterencode(o, 0)\r\n  File \"/usr/lib/python2.7/json/encoder.py\", line 184, in default\r\n    raise TypeError(repr(o) + \" is not JSON serializable\")\r\nTypeError: \u003cProjectMilestone id:1812\u003e is not JSON serializable\r\n```\r\n\r\n  - python-gitlab version: 1.3.0\r\n  - API version you are using (v3/v4): V4\r\n  - Gitlab server version (or gitlab.com): 11.3.4\r\n","author":{"url":"https://github.com/yann-l","@type":"Person","name":"yann-l"},"datePublished":"2018-10-13T20:00:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/612/python-gitlab/issues/612"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:66dae9c9-9459-7cc5-784f-a83f5fe1bdff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEAEC:1FE9E1:558F2B:785199:6977901C
html-safe-nonce9550a9e37b62c56a8f3bcd4e643c79f4d2b5ccb83ee12adc7ff03b314a9fc22a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUVDOjFGRTlFMTo1NThGMkI6Nzg1MTk5OjY5Nzc5MDFDIiwidmlzaXRvcl9pZCI6IjYzMDAxODMyOTgwMDU1MDQwMjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac75ebd82327cb61c6e7feee72d4b1fd2a8aeb21ca7c31d242c379aaca7aa41c62
hovercard-subject-tagissue:369835966
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-gitlab/python-gitlab/612/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7cec6c0070ee4b4bbc7bcaff17bce799641834b9d78ba86d7c1b2f02fc0060b1/python-gitlab/python-gitlab/issues/612
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7cec6c0070ee4b4bbc7bcaff17bce799641834b9d78ba86d7c1b2f02fc0060b1/python-gitlab/python-gitlab/issues/612
og:image:altI'm not able to set the milestone to an issue: >>> import gitlab >>> gitlab.__version__ '1.3.0' >>> gl = gitlab.Gitlab('https://dev.domain.tld', 'xxx') >>> p = gl.projects.get(30) >>> i = p.issues....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyann-l
hostnamegithub.com
expected-hostnamegithub.com
Nonefd37f8e74ecc49b700617ea694fa6d7b395b6c9a4b79c59b3014da220462ac69
turbo-cache-controlno-preview
go-importgithub.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git
octolytics-dimension-user_id28886265
octolytics-dimension-user_loginpython-gitlab
octolytics-dimension-repository_id8077625
octolytics-dimension-repository_nwopython-gitlab/python-gitlab
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8077625
octolytics-dimension-repository_network_root_nwopython-gitlab/python-gitlab
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseacb9f387e67b45e2eeb6a57ef561ec67eb21d805
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-gitlab/python-gitlab/issues/612#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2F612
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2F612
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-gitlab%2Fpython-gitlab
Reloadhttps://github.com/python-gitlab/python-gitlab/issues/612
Reloadhttps://github.com/python-gitlab/python-gitlab/issues/612
Reloadhttps://github.com/python-gitlab/python-gitlab/issues/612
python-gitlab https://github.com/python-gitlab
python-gitlabhttps://github.com/python-gitlab/python-gitlab
Notifications https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Fork 675 https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Star 2.4k https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Code https://github.com/python-gitlab/python-gitlab
Issues 26 https://github.com/python-gitlab/python-gitlab/issues
Pull requests 12 https://github.com/python-gitlab/python-gitlab/pulls
Discussions https://github.com/python-gitlab/python-gitlab/discussions
Actions https://github.com/python-gitlab/python-gitlab/actions
Projects 0 https://github.com/python-gitlab/python-gitlab/projects
Security 0 https://github.com/python-gitlab/python-gitlab/security
Insights https://github.com/python-gitlab/python-gitlab/pulse
Code https://github.com/python-gitlab/python-gitlab
Issues https://github.com/python-gitlab/python-gitlab/issues
Pull requests https://github.com/python-gitlab/python-gitlab/pulls
Discussions https://github.com/python-gitlab/python-gitlab/discussions
Actions https://github.com/python-gitlab/python-gitlab/actions
Projects https://github.com/python-gitlab/python-gitlab/projects
Security https://github.com/python-gitlab/python-gitlab/security
Insights https://github.com/python-gitlab/python-gitlab/pulse
New issuehttps://github.com/login?return_to=https://github.com/python-gitlab/python-gitlab/issues/612
New issuehttps://github.com/login?return_to=https://github.com/python-gitlab/python-gitlab/issues/612
Set miletone to an issuehttps://github.com/python-gitlab/python-gitlab/issues/612#top
https://github.com/yann-l
https://github.com/yann-l
yann-lhttps://github.com/yann-l
on Oct 13, 2018https://github.com/python-gitlab/python-gitlab/issues/612#issue-369835966
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.