<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&#64;webkit.org" title="Joseph Pecoraro &lt;joepeck&#64;webkit.org&gt;"> <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">&gt; If prepare-changelog and its downstream webkitperl used the bugzilla JSON
&gt; API, this would be pretty easy to do by looking for &lt;rdar in a comment. I
&gt; don't think it will be easy right now, since it's not listed in a
&gt; well-defined field for scraping. I don't know if any other functionality
&gt; 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>&amp;ctype=xml&amp;excludefield=attachmentdata'

Which includes comments. Importer comments would be easy to recognize:

<span class="quote">&gt; &lt;long_desc isprivate=&quot;0&quot;&gt;
&gt;   &lt;commentid&gt;1153467&lt;/commentid&gt;
&gt;   &lt;who name=&quot;Radar WebKit Bug Importer&quot;&gt;webkit-bug-importer&lt;/who&gt;
&gt;   &lt;bug_when&gt;2016-01-07 11:06:14 -0800&lt;/bug_when&gt;
&gt;   &lt;thetext&gt;&amp;lt;rdar://problem/24093563&amp;gt;&lt;/thetext&gt;
&gt; &lt;/long_desc&gt;</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>