Stop the Raiding

Stop the Raiding (displayed as Stop the Raiding at (Location Name)) is a Minutemen radiant quest in Fallout 4.

Detailed walkthrough
After joining the Minutemen, this quest can be periodically obtained when talking to Preston Garvey or listening to Radio Freedom. The Sole Survivor is informed that an allied settlement is having trouble with a group of raiders, and is asked to help the settlement deal with them. Alternatively, the quest may be obtained directly from a settler at an owned settlement even if the Sole Survivor has not joined the Minutemen (though this occurs very infrequently).

To proceed with the quest the Sole Survivor must travel to the settlement and talk to their leader, who will give the details: a large group of raiders came by recently asking for tribute, which the settlement was forced to pay for their own protection. The settler will point the Sole Survivor to the raiders' hideout and ask that the raiders be dealt with.

To complete the objective, the Sole Survivor must travel to the raider hideout and eliminate the marked raider boss. Unmarked enemies do not need to be killed to complete the quest. With the threat neutralized, the Sole Survivor can talk to the settler from before to receive thanks and a reward of ~100 caps. If the quest was given by Preston Garvey, the Sole Survivor must report back to him to turn in the quest; it will be completed immediately upon receiving the reward otherwise.

Bugs

 * The option to say that the targeted location has been previously cleared won't appear, along with the quest marker, preventing the quest completion. Clearing the location anyways won't fix this.
 * This can be fixed by running in the console.
 * In certain locations, NPCs might spawn in inaccessible locations (for instance, Roger Warwick at Warwick homestead might spawn inside the water cistern). This bug is shared with the other settlement quests.
 * This can be resolved by using the console command to teleport the NPC in question.
 * The Warwick homestead example can be resolved by building stairs into the cistern and a bell outside of it. Using the bell and waiting for an in-game hour (using the Wait option) will cause the NPCs to spawn near the bell.