<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - prepare-ChangeLog should include radar number"
   href="https://bugs.webkit.org/show_bug.cgi?id=152839#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - prepare-ChangeLog should include radar number"
   href="https://bugs.webkit.org/show_bug.cgi?id=152839">bug 152839</a>
              from <span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=152839#c2">comment #2</a>)
<span class="quote">> If prepare-changelog and its downstream webkitperl used the bugzilla JSON
> API, this would be pretty easy to do by looking for <rdar in a comment. I
> don't think it will be easy right now, since it's not listed in a
> well-defined field for scraping. I don't know if any other functionality
> needs to scrape comments HTML in bugzilla.</span >
Currently `prepare-ChangeLog -b ###` will fetch the XML data for a bug:
$ curl --insecure --silent '<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - prepare-ChangeLog should include radar number"
   href="show_bug.cgi?id=152839">https://bugs.webkit.org/show_bug.cgi?id=152839</a>&ctype=xml&excludefield=attachmentdata'
Which includes comments. Importer comments would be easy to recognize:
<span class="quote">> <long_desc isprivate="0">
>   <commentid>1153467</commentid>
>   <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
>   <bug_when>2016-01-07 11:06:14 -0800</bug_when>
>   <thetext>&lt;rdar://problem/24093563&gt;</thetext>
> </long_desc></span >
I suppose I could hack in just searching for that single radar link comment. That will at least handle the importer pattern (which is all I really about).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>