Gemini API - Get Issue
Hi,
I am wondering if I can do the following using the gemini API
I am creating issues automatically that are being generated else where.
I want to be able to search the issues within a project using the summary. For example, I create an issue "ABCDE" and another issue is created but before I create it I want to search the issues within a project for "ABCDE" in the summary, from the API documentation you can only use the issue ID's
Thanks
Marc
marc.garraway
· 1 |
|
Monday, September 28, 2009, 5:25:01 PM |
0
|
You can do a search using the Issues Filer: http://api.countersoft.com/ApiIssues.aspx#Filtered |
||||
|
0
|
Sorry to be a pain, This is my code so far
How do I get the issue summary?? This is what I need |
||||
|
0
|
foreach (IssueEN issue in issues) String summary = issue.IssueSummary} will get you the issue summary. You also need to set parameters for the filter. If you're searching within one project (here, with ID projectID), set: issueFiler.ProjectID = projectID before you do GetFilteredIssues, then running: getFilteredIssues(issueFiler) will return you all issues within that project, which you can loop over as above. |
||||
|
0
|
Se the filter keywords to the search you need: |
||||
|
0
|
Ahaa, my bad, Marc (and Mark!), I didn't realise you could search like that. |
||||
|
0
|
Hi, This is my code so far
it seems to fall over when I get the array
I want to get all the issues that have a certain project Id What do I need to change Thanks Marc |
||||
|
0
|
Is it giving you an exception? Can you debug it? |
||||
|
0
|
Ah. |
||||
|
0
|
thank you, that worked :):) I think thats all my issues solved, thankyou for all the help Marc |
||||
|
0
|
Hi, Sorry one more thing, I have not used the Newtonsoft.Json dll but when I try and install my application onto another computer it asks for it to be installed in the GAC. How can I install this onto another computer?? Why do I need it if I am not referencing it?? Thanks Marc |
||||
|
0
|
Simply copy it over from your project. It is used by the WebServices DLL. |
||||
|