cgaspard / mantiskanban

Mantis Kanban that uses ajax and mantisconnect
45 stars 33 forks source link

Subproject issue? #23

Closed rafaeladolfo closed 10 years ago

rafaeladolfo commented 10 years ago

Hi there,

Here on the company our mantis configuration is organized like this:

Main Project [ IT ] Subprojects> Support,Development,Help Desk, etc

Creating a filter and giving the user developer access to the main project (IT) we managed to be able to see all issues. We can move issues and add notes, attachments, everything! (which is great and much faster than using mantis default interface)

BUT, if we need to update anything, or add a new story, than we have a problem.

I think that it might be something related with the category, because when we click on some ticket, the category and the project field doesn`t load correctly. Instead of this, It loads the first project available, and the category dropdown comes empty.

For ex. the bellow image the correct project is IT, but it loaded the first project available, and the category did not load.

edit

Could this be related to this function not loading values? >get ProjectCategories()

I'm trying to check this by myself, but as my time is really short I`m submiting this issue to get some help!

Many thanks!

cgaspard commented 10 years ago

Sorry for the slow response. Been on vacation this week. I’ll try setting up this scenario and debugging it. Will let you know what I find.

On Monday, March 10, 2014 at 12:34 PM, rfa1989 wrote:

Hi there, Here on the company our mantis configuration is organized like this: Main Project [ IT ] Subprojects> Support,Development,Help Desk, etc Creating a filter and giving the user developer access to the main project (IT) we managed to be able to see all issues. We can move issues and add notes, attachments, everything! (which is great and much faster than using mantis default interface)
BUT, if we need to update anything, or add a new story, than we have a problem. I think that it might be something related with the category, because when we click on some ticket, the category and the project field doesn`t load correctly. Instead of this, It loads the first project available, and the category dropdown comes empty.
For ex. the bellow image the correct project is IT, but it loaded the first project available, and the category did not load.

Could this be related to this function not loading values? >get ProjectCategories() I'm trying to check this by myself, but as my time is really short I`m submiting this issue to get some help! Many thanks!

— Reply to this email directly or view it on GitHub (https://github.com/cgaspard/mantiskanban/issues/23).

rafaeladolfo commented 10 years ago

Don't worry!

The IT project is set as public, All subprojects are set as private.

Trying different combinations of project and user settings to see if it's related to permission or private/public project attribute..

Thank you

cgaspard commented 10 years ago

Any luck with this? I'll try setting this up on the demo server for testing if you haven't figurd it out.

rafaeladolfo commented 10 years ago

Hi, sorry the delay,

No luck until now, I assigned someone to test several possible ways to get around the situation.

Maybe tomorrow we can have some good news, let's wait and see.

Thanks

grv87 commented 10 years ago

I have the same issue with Project field for subprojects (but no problem with Category).

cgaspard commented 10 years ago

I went through the API this morning, and I do see that I am not handling sub projects at all. This will have to be new development to handle these.

In my use of MantisBT, I haven't actually used the sub project. I didn't even know they existed, so I never had the need to implement this. I will add it to the list of future enhancements.

rafaeladolfo commented 10 years ago

Oh!

Subprojects, they exist! haha Good to hear that I'm not the only one with this issue, I'm feeling a little relieved right now..!

Can't wait to see it working! If any help is needed, please share!

cgaspard commented 10 years ago

Okay I have very basic project support right now. Not fully tested, but its pushed. With the current version, I've been able to pull up a sub project, and add items to it without issue.

I'm not sure this covers the entire subproject functionality since I don't personally use subprojects. If you guys can give it a go, and see if it functions like you would expect, I'd appreciate some any feedback.

rafaeladolfo commented 10 years ago

This is great!

Tomorrow morning I'll give it a try and let you know how it worked!

Many thanks!

Enviada do meu iPhone

Em 19/03/2014, às 23:50, Corey Gaspard notifications@github.com escreveu:

Okay I have very basic project support right now. Not fully tested, but its pushed. With the current version, I've been able to pull up a sub project, and add items to it without issue.

I'm not sure this covers the entire subproject functionality since I don't personally use subprojects. If you guys can give it a go, and see if it functions like you would expect, I'd appreciate some any feedback.

— Reply to this email directly or view it on GitHub.

rafaeladolfo commented 10 years ago

Hello!

Good news! It's working perfectly!! Now we can select any subproject, and add new stories without having to use the default mantis interface!

It's also getting the right categories according to the subproject that was selected.

We'll have a lot of people using it, so if we see any bugs I'll post here. Also the link to mantis bug page it's very nice!

Thanks a lot!

cgaspard commented 10 years ago

Thats great. I'll close this one out for now then. If you have an more problems, just let me know.