Hi everybody,
We are migrating issues from our Jira to another. Everything is fine except that we want to exclude developer comments when exporting or importing. When you export to CSV or any other extension there is no difference between a regular comment or a developer comment. Is there any way we can exclude them from our issues?
Thanks,
Kind regards,
Mustafa
Closing this ticket; for those who wonder: you can find developer comments through the API.
My php script:
<?php
$username='USERNAME@domain.com';
$password='PASSWORD';
$URL='https://YOURAPP.atlassian.net/rest/api/3/issue/TICKETCODE/comment';
$headers = ['Accept: application/json'];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$URL);
curl_setopt($ch, CURLOPT_TIMEOUT, 30); //timeout after 30 seconds
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
curl_setopt($ch, CURLOPT_USERPWD, "$username:$password");
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$result=curl_exec ($ch);
$status_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); //get status code
curl_close ($ch);
$obj = json_decode($result);
var_dump($obj);
?>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.