Possibility to use REST Api inside a redmine page?
For a long time I have been searching for an automatic due date calculation in Redmine regarding work times and holidays.
But neither Redmine nor any plugin has this feature.
Regarding my poor ruby knowledge I had the idea to implement a pure JS solution.
I should be able to read the estimated time of the issue and with the rest api I can search for issues of the user with tracker Holiday and calculate them by reading start and due date.
By clicking a button on the issue page I should be able to calculate the issues due date.
Problem is: How would the Authentication work? It seems not to be enough that the browser sends the fitting session cookie for the REST api.