Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




GeminiWS Questions

web-app

hey guys!

i tried to create an issue via the GeminiWS Webservice ( http://its.amadee.net/webservices/gemini.asmx )

 

the problem is that i want to create an issue with more than 1 attachment and a customfield . is that possible?

there is the CreateIssueWithAttachment webservice. but i can only create one attachment with it, right? and the other problem is, that the nodes:

<IssueCustomFieldData>
...
</IssueCustomFieldData>

inside the data element wont work. all other nodes are working. if i use the CreateIssueWithCustomFields web service and use the upper described nodes outside the data node it will work for the customfields. but then i have the problem that the Attachment node inside the data node wont work.

but then i have the problem with the attachments. im using the soap 1.2 request.

here is a full sample i used:

 

 <CreateIssueWithAttachment xmlns="http://countersoft.com/gemini/webservices/">
            <data>
              <ProjectID>19</ProjectID>
              <IssueType>31</IssueType>
              <IssuePriority>2</IssuePriority>
              <IssueSeverity>2</IssueSeverity>
              <IssueStatus>1</IssueStatus>
              <IssueResolution>1</IssueResolution>
              <ReportedBy>143</ReportedBy>
              <IssueSummary>Test issue - Gemini WebService</IssueSummary>
              <IssueLongDesc>Test.</IssueLongDesc>
              <RiskLevel>1</RiskLevel>
              <Visibility>1</Visibility>
              <VisibilityMemberType>GlobalGroup</VisibilityMemberType>
              <IssueCustomFieldData>
                <CustomFieldDataEN>
                  <CustomFieldID>89</CustomFieldID>
                  <UserID>143</UserID>
                  <ProjectID>19</ProjectID>
                  <CustomFieldData>5</CustomFieldData>
                </CustomFieldDataEN>
              </IssueCustomFieldData>
              <IssueResources>
                <IssueResourceEN>
                  <UserID>107</UserID>
                  <!--User xsi:nil="true"/-->
                </IssueResourceEN>
              </IssueResources>
              <Components>
                <IssueComponentEN>
                  <ComponentID>902</ComponentID>
                  <!--Component xsi:nil="true"/-->
                </IssueComponentEN>
              </Components>
            </data>
            <fileData>
              <ProjectID>19</ProjectID>
              <ContentType>text/xml</ContentType>
              <ContentLength>2968</ContentLength>
              <FileName>test.txt</FileName>
            </fileData>
            <fileContent>aGFsbG8=</fileContent>
          </CreateIssueWithAttachment>

bold marked stuff wont work.

Italic marked stuff works, but only outside the data node. there is an attachment node inside the data node, but this wont work. can someone tell me why?

thank you for hopefully helping me :)

amadeescc
· 1
amadeescc
Replies (1)
helpful
0
not helpful

This is not possible at the moment with this web service.

You could add the attachments as comment ones.

Feel free to add it to our list: http://gemini.countersoft.com

 


Saar Cohen
· 5000
Saar Cohen