Hello, struggling to edit a ticket summary, I can already post comments with below:
So I've been able to use python to sumbit a JSON POST command using the below code:
Despite my best efforts I can't update the summary. I've tried many combos including changing the link to and the JSON:
As per the Edit issue endpoint documentation, you don't update (change) an issue field with a POST request, but a PUT request.
Well seen,
I had not paid attention to the method!
I don't know how to develop in python so I didn't look at the code.
I'm more on PowerShell or Node js.
I think your answer can fix the problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So simple ! That actually is likely the issue... I'm going to go down that rabbit hole using a PUT request instead of POST and see what I get. Thanks !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For anyone looking for a solution to this:
Code:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All of my attempts return a status code 405, so I know I'm close but lacking something I need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do you have a preference in the choice of programming language?
I don't really understand this python script
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I prefer Python, this contains both. All this script is doing is sending a JSON Request to the REST API
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.