The attack in forested Koraput district of mineral-rich Orissa state , about 550 kms ( 340 miles ) southwest of the state capital Bhubaneshwar , took place when security personnel were on a patrol as part of operations against the insurgents , they said .