Hey,
I'm getting error while trying to change baseURL via cURL, I'm using this command:
< HTTP/1.1 400
{"errorMessages":["The specified URL is not valid."],"errors":{}}%
What could be the issue?
Let me ask you a better question. How often do you change baseUrl. Does it really matter enough not to change it in web UI?
If you happen to have a valid use case, then okay, but I can't help but doubt it.
Also it turns out it isn't json it wants. It's a confused endpoint. It still wants a json content type, but it just wants a single string in data.
I.e. `-H 'Content-Type: application/json' -d 'https://test.com'` this worked.
It worked! Such small change, thank you sir!
We are cloning our instance quite often and we needed that to finish our process.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, makes sense.
Personally I find https://confluence.atlassian.com/jirakb/change-the-base-url-of-jira-server-in-the-database-733940375.html a bit nicer (as with cloning there's typically plenty SQL stuff to do anyway, e.g. licenses or applinks and so on so it kinda blends in).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I wanted to use DB queries, but we couldn't change certificate for SSO via DB, but it's possible via cURL. Some cURLs:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.