← Back to team overview

gtg-user team mailing list archive

Re: First Steps on a plugin

 

Am 20.11.2011 14:49, schrieb Germán Gutiérrez:
Nice! I'm really advanced in my jira plugin^Wbackend, I'm still having
some troubles, from most important to least:

- User / password is still hardcoded, I've put the _static_parameters
list, but no luck so far, I'll take a look on other plugins to sort
this out.

Could you publish your working version? We can help to debug. I merged mantis backend into the trunk yesterday and it uses username/password without problems. Maybe you want to look there.

- I use a jira filter from my user to "extract" the list of jiras that
I want to work with, the problem with that is since the list of
filters are related to my user, is kind of tricky to put it in the
_static_parameters list (despite the fact that I have no idea how to
put some kind of select field in _static_parameters)

I am not sure, if I get it correctly. You should authentize with username/password into your service. Then it is possible to get something like a user ID or a list of filters from servers and choose them.

- I add tags following some criteria to every task, I see them in the
tags sidebar, but not in the task itself.

Right now, it is possible to have a task with a tag and in the same time the task does not contain the tag in text itself. (We should fix that.) The best way is to add your tag into text manually:
text = ", ".join('@' + tagname for tagname in tags) + '\n' + original_text

Izidor



References