Add percentage done for Versions.xml in Rest API (read only)
Added by Jorge S. almost 11 years ago
I'm trying to add the percentage done for versions.xml.
I saw that the method is issues_progress(true) in models/versions but I cannot go further since I do not know Ruby, and I don't know how controller passes data to view (I see references but for me, magically created lol).
Can anyone guide me?
Thanks!
Replies (1)
RE: Add percentage done for Versions.xml in Rest API (read only) - Added by Jorge S. almost 11 years ago
Jorge Sivil wrote:
I'm trying to add the percentage done for versions.xml.
I saw that the method is issues_progress(true) in models/versions but I cannot go further since I do not know Ruby, and I don't know how controller passes data to view (I see references but for me, magically created lol).
Can anyone guide me?
Thanks!
Adding this:
api.completed_percent version.completed_percent
On /app/views/versions/index.api.rsb did the trick!!