Mapping an ID field from ATOM feed

121 views
Skip to first unread message

Tim

unread,
Jul 12, 2012, 10:03:17 AM7/12/12
to podi...@googlegroups.com
Hey!

Little backstory

We are also currently looking into deploying Podio company-wide in all our departments.
For us, the tech dudes, I'm experimenting with a nice workflow to link our Bitbucket repository with a bug tracking app from Podio.

The idea is that we import the Bitbucket commits trough RSS (ATOM feed) into a custom app or the already prebuild Bitbucket app.
Then in the bug app we can refer to the commit that fixed the reported bug.

The issue

In this setup it would be ideal to have the commit hashes, which Bitbucket puts in the ID field of its ATOM feed, mapped to a textfield of the app.
But for some reason the ID cannot be mapped in the interface. I just cannot select the ID from the dropdowns while mapping.
Is there something I'm missing, or is this currently not supported?

Cheers
Tim

Christian Holm

unread,
Jul 12, 2012, 10:08:38 AM7/12/12
to podi...@googlegroups.com
Hey

If you can supply me with a bitbucket feed and point of where to get the id, I can most likely add it to the mapping options.

Christian

Tim

unread,
Jul 12, 2012, 10:17:01 AM7/12/12
to podi...@googlegroups.com
Hey Christian

Thanks for the lighting fast reply :)

I can give you the feed of a public Bitbucket repository containing the exact same structure as our private repos: https://bitbucket.org/tortoisehg/thg/atom
Below you can find the structure, the first field in the XML is the ID what I'm talking about.
The structure looks like this: 

 <entry>
    <id>changeset:024e3a7cbd5e</id>
    <link href="https://bitbucket.org/tortoisehg/thg/changeset/024e3a7cbd5e"/>
    <author>
    
      <name>Yuya Nishihara</name>
    
    </author>
    <title>revdetails, manifest: update filectxactions on selection change, not on click
Follows up 54a245cc1e64.
This can handle the case, selection moved by keyboard.</title>
    <updated>Wed, 11 Jul 2012 15:01:22 +0000</updated>
<content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
revdetails, manifest: update filectxactions on selection change, not on click
Follows up 54a245cc1e64.
This can handle the case, selection moved by keyboard.
    
      <ul>
      
        
        <li><a href="https://bitbucket.org/tortoisehg/thg/src/024e3a7cbd5e/tortoisehg/hgqt/manifestdialog.py">
          tortoisehg/hgqt/manifestdialog.py
        </a>(1 lines added, 1 lines removed)</li>
      
        
        <li><a href="https://bitbucket.org/tortoisehg/thg/src/024e3a7cbd5e/tortoisehg/hgqt/revdetails.py">
          tortoisehg/hgqt/revdetails.py
        </a>(11 lines added, 2 lines removed)</li>
      
      </ul>
    
 </div>
</content>
  </entry>

Cheers
Tim

Christian Holm

unread,
Jul 12, 2012, 4:15:00 PM7/12/12
to podi...@googlegroups.com
Hi again

I have just implemented this and it will go out on the next update. It might be tomorrow (Friday), but maybe not until Monday or Tuesday next week. I will let you know.

Christian

Tim

unread,
Jul 13, 2012, 2:22:03 AM7/13/12
to podi...@googlegroups.com
Hey Christian

Thanks for the update!
And thanks for the very fast response, its very nice to see a product that has such a dedicated customer and tech backoffice!

I'm waiting for your update :)

Cheers
Tim

Christian Holm

unread,
Jul 13, 2012, 8:06:28 AM7/13/12
to podi...@googlegroups.com
It's out now.

Good weekend,

Christian

Tim

unread,
Jul 16, 2012, 3:05:49 AM7/16/12
to podi...@googlegroups.com
Thanks Christian!

I can confirm it works perfectly.
Thanks again for the fast respons.

Cheers
Tim
Reply all
Reply to author
Forward
0 new messages