Coder Social home page Coder Social logo

Comments (3)

maxtepkeev avatar maxtepkeev commented on July 27, 2024

Hi!

What do you mean by "remaining time of an issue" ? There is no such thing in Redmine and Python-Redmine is just a client for the Redmine API. There is a done_ratio (percent) and spent_hours (integer). Maybe you are talking about some custom field that you have in your Redmine, if that is the case then you can access it via issue.custom_fields.get(X) where X is the id of your custom field resource that represents the remaining time of an issue.

Hope that helps.

from python-redmine.

fcabaud avatar fcabaud commented on July 27, 2024

"remaining time" is a data from Backlog plug-in... not from the core of redmine. That's why we dont access it from the python-redmine module

from python-redmine.

maxtepkeev avatar maxtepkeev commented on July 27, 2024

I had a look at this plugin and it looks like that it doesn't have a separate REST API endpoints. It's just exposing some of the parameters via issues REST API endpoint starting from version 1.0.0 (see change log).

I've installed the plugin and I can see the story_points field in my issues. So basically there is no need to do something with python-redmine to support this plugin. I'm still not sure what field you are talking exactly when you say "remaining time of an issue" but according to changelog of backlog plugin it only exposes the release/story_points fields and not the field which looks like the "remaining time of an issue". As you understand if this field is not exposed via REST API there is no way for you to access it, you should probably ask developers of Backlog plugin to implement this feature.

from python-redmine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.