Change a specialist document base path
In Specialist Publisher, the base path is automatically generated based on the title when the specialist document is first created. We sometimes receive Zendesk tickets to change a base path when the title has been updated, as the publisher does not have the ability to do this.
You can use the Jenkins rake task runner to run the task:
You can find the
content_idof the document using the govuk-toolkit browser extension.
NOTE: the rake task will only change the slug for the latest draft (creating a new draft if necessary). For the change to be permanent, you need to publish the draft, which you can either do in the Specialist Publisher UI or by using the CLI:
local$ govukcli set-context production local$ govukcli ssh backend production$ govuk_app_console specialist-publisher rails$ Document.find('content_id-of-the-document').publish