Zoho Projects API for Developers
This API gets deprecated on September 30th, 2014. Our new REST API V 2.0 reference is here.

Bugs API for Developers

How to add a Bug?

Method Name :

https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/add

API Description :

Given the authtoken and required parameter add a new bug on successful authentication

Parameters to be passed :

authtoken, bugtitle, description, assigneeid, projId ,flag ,classificationid, milestoneid, duedate, moduleid, severityid, isitreproducibleid, uploadfile , custom filed name if any (use api for fetch the custom field's name)

Compulsory parameters :

authtoken, bugtitle, projId

Sample Call

<form method="post" enctype="multipart/form-data" action="https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/add?authtoken=[AuthToken]">
      <input type="text" name="bugtitle" value="Accounts">
      <textarea id="txtDesc" name="description" value=""></textarea>
      <input type="text" name="assigneeid" value="">(loginid/userid)
      <input type="text" name="projId" value="">
      <input type="text" name="flag" value="">(External/Internal)
      <input type="text" name="classificationid" value="">
      <input type="text" name="milstoneid">
      <input type="text" name="duedate" >(date format must be "MM-dd-yyyy")
      <input type="text" name="moduleid" >
      <input type="text" name="severityid" value="">
      <input type="text" name="isitreproducibleid" value="">
      <input type="file" name="uploadfile">
      <input type="text" name="CHAR1" value="" >
      <input type="text" name="CHAR2" value="" >
      <input type="text" name="CHAR3" value="" >
      <input type="text" name="CHAR4" value="" >
      <input type="text" name="CHAR5" value="" >
      <input type="text" name="CHAR6" value="" >
      <input type="text" name="CHAR7" value="" >
      <input type="text" name="CHAR8" value="" >
      <input type="text" name="CHAR9" value="" >
      <input type="text" name="CHAR10" value="" >
      <input type="text" name="CHAR11" value="" >
      <input type="text" name="CHAR12" value="" >
      <input type="text" name="LONG1" value="" >
      <input type="text" name="LONG2" value="" >
      <input type="text" name="LONG3" value="" >
      <input type="text" name="LONG4" value="" >
      <input type="text" name="DATE1" value="" >(custom date format must be "MM-dd-yyyy")
      <input type="text" name="DATE2" value="" >(custom date format must be "MM-dd-yyyy")
      <input type="text" name="DATE3" value="" >(custom date format must be "MM-dd-yyyy")
      <input type="text" name="DATE4" value="" >(custom date format must be "MM-dd-yyyy")
</form>

Output XML

<response>
      <result>
            <BugDetails>
                  <BugDetail>
                        <Isitreproducibleid>f283ba8dbcd84883e1add4138c</Isitreproducibleid>
                        <modifieddate>04-05-2013 05:28 PM</modifieddate>
                        <cf_CHAR1>BUG API Test case for custom filed</cf_CHAR1>
                        <reporter>name@emailid.com</reporter>
                        <title>Bug API test cases</title>
                        <bugid>f283ba8dbc1123087f389d39c7d42ebe7b74a9020fb6aaad</bugid>
                        <duedate>10-27-2013 12:00 AM</duedate>
                        <moduleid>f283ba8dbc112308f5ffdfbe8acb819b6</moduleid>
                        <projectid>f283ba8dbc112308129a2785fd6e9e7a</projectid>
                        <closed>false</closed>
                        <cf_DATE1>10-27-2013 12:00 AM</cf_DATE1>
                        <module>ZohoDB Issues</module>
                        <status>Open</status>
                        <bugkey>GPI--9298</bugkey>
                        <assignee>name@emailid.com</assignee>
                        <classificationid>f283ba8dbc1123081dad61706403a9e2404</classificationid>
                        <lb_LONG1> customFiled-Numeric</lb_LONG1>
                        <statusid>f283ba8dbc112308e57bdb7343b454ce2</statusid>
                        <severity>Major</severity>
                        <attachment>xyz.html</attachment>
                        <lb_DATE1>customFiled-Date</lb_DATE1>
                        <flag>Internal</flag>
                        <Isitreproducible>Rarely</Isitreproducible>
                        <severityid>f283ba8dbc112308e57bdb7343b454ce6755</severityid>
                        <createdtime>01-15-2013 02:52 PM</createdtime>
                        <classification>Security</classification>
                        <cf_LONG1>333333333</cf_LONG1>
                        <lb_CHAR1>customFiled-Text</lb_CHAR1>
                  </BugDetail>
            </BugDetails>
            </result><uri>/api/private/xml/bug/add</uri>
</response>

Output JSON

{"response":{"result":{"BugDetails":[{"BugDetail":{"Isitreproducibleid":"f283ba8dbcd84883e1add4138c","modifieddate":"04-05-2013 05:28 PM", "cf_CHAR1":"BUG API Test case for custom filed","reporter":"name@emailid.com","title":"BUG API Test Case title","bugid":"f283ba8dbc1123087f389d39c7d42ebe7b74a9020fb6aaad","duedate":"10-27-2013 12:00 AM","moduleid":"f283ba8dbc112308f5ffdfbe8acb819b6","projectid":"f283ba8dbc112308129a2785fd6e9e7a","closed":"false","cf_DATE1":"10-27-2013 12:00 AM","module":"ZohoDB Issues","status":"Open","bugkey":"GPI--9299","assignee":"name@emailid.com","classificationid":"f283ba8dbc1123081dad61706403a9e2404","lb_LONG1":" customFiled-Numeric","statusid":"f283ba8dbc112308e57bdb7343b454ce2","severity":"Major","attachment":"xyz.html","lb_DATE1":"customFiled-Date","flag":"Internal","Isitreproducible":"Rarely","severityid":"f283ba8dbc112308e57bdb7343b454ce6755","createdtime":"01-15-2013 03:02 PM","classification":"Security","cf_LONG1":"333333333","lb_CHAR1":"customFiled-Text"}}]},"uri":"/api/private/json/bug/add"}}

How to get details of a bug?

Method Name :

https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/getbuginfo

API Description :

Given the authtoken and bugid returns the details of a bug on successful authentication

Parameters to be passed :

authtoken, bugid

Compulsory Parameters :

authtoken, bugid

Sample Call

<form method="post" action="https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/getbuginfo?authtoken=[AuthToken]">
      <input type="text" name="bugid" value="">
</form>

Output XML

<response>
      <result>
            <BugDetails>
                  <BugDetail>
                        <Isitreproducibleid>f283ba8dbc1123081dad61706403a9e</Isitreproducibleid>
                        <modifieddate>04-05-2013 05:28 PM</modifieddate>
                        <cf_CHAR1>BUG API Test case for custom filed</cf_CHAR1>
                        <reporter>name@emailid.com</reporter>
                        <title>Bug API test cases</title>
                        <bugid>f283ba8dbc1123087f389d39c7d42ebe7b74a</bugid>
                        <description>Bug API test cases description</description>
                        <duedate>10-27-2013 12:00 AM</duedate>
                        <moduleid>f283ba8dbc112308f5ffdfbe8acb819b6e</moduleid>
                        <projectid>f283ba8dbc112308129a2785fd6e9e7a9</projectid>
                        <closed>false</closed>
                        <cf_DATE1>10-27-2013 12:00 AM</cf_DATE1>
                        <module>ZohoDB Issues</module>
                        <status>ÊâìºÄ4</status>
                        <bugkey>GPI--9298</bugkey>
                        <assignee>name@emailid.com</assignee>
                        <classificationid>f283ba8dbc1123081dad6170640</classificationid>
                        <lb_LONG1> customFiled-Numeric</lb_LONG1>
                        <statusid>f283ba8dbc112308ba697740e8f520942a2</statusid>
                        <severity>Major</severity>
                        <lb_DATE1>customFiled-Date</lb_DATE1>
                        <flag>Internal</flag>
                        <Isitreproducible>Rarely</Isitreproducible>
                        <severityid>f283ba8dbc112308e57bdb7343b454ce67</severityid>
                        <createdtime>01-15-2013 02:52 PM</createdtime>
                        <classification>Security</classification>
                        <cf_LONG1>333333333</cf_LONG1>
                        <lb_CHAR1>customFiled-Text</lb_CHAR1>
                  </BugDetail>
            </BugDetails>
      </result>
      <uri>/api/private/xml/bug/getbuginfo</uri>
</response>

Output JSON

{"response":{"result":{"BugDetails":[{"BugDetail":{"Isitreproducibleid":"f283ba8dbc1123081dad61706403a9e","modifieddate":"04-05-2013 05:28 PM","cf_CHAR1":"BUG API Test case for custom filed","reporter":"name@emailid.com","title":"Bug API test cases","bugid":"f283ba8dbc1123087f389d39c7d42ebe7b74a","description":"Bug API test cases description\n","duedate":"10-27-2013 12:00 AM","moduleid":"f283ba8dbc112308f5ffdfbe8acb819b6e","projectid":"f283ba8dbc112308129a2785fd6e9e7a9a9","closed":"false","cf_DATE1":"10-27-2013 12:00 AM","module":"ZohoDB Issues","status":"打开4","bugkey":"GPI--9298","assignee":"name@emailid.com","classificationid":"f283ba8dbc1123081dad6170640","lb_LONG1":" customFiled-Numeric","statusid":"f283ba8dbc112308ba697740e8f520942a2","severity":"Major","lb_DATE1":"customFiled-Date","flag":"Internal","Isitreproducible":"Rarely","severityid":"f283ba8dbc112308e57bdb7343b454ce67","createdtime":"01-15-2013 02:52 PM","classification":"Security","cf_LONG1":"333333333","lb_CHAR1":"customFiled-Text"}}]},"uri":"/api/private/json/bug/getbuginfo"}}

How to get all bugs in the project?

Method Name :

https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/getprojbugs

API Description :

Given authtoken and required parameter returns the all bugs on successful authentication

Parameters to be passed :

authtoken, projId, from, range

Compulsory Parameters :

authtoken, projId

Sample Call

<form method="post" action="https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/getprojbugs?authtoken=[AuthToken]">
      <input type="text" name="projId" value="">
      <input type="text" name="from" value="">
      <input type="text" name="range" value=""> ( 25 / 50 / 75 / 100 )
</form>

Output XML

<response>
      <result>
            <BugDetails>
                  <BugDetail>
                        <Isitreproducibleid>f283ba39cf18480808a9d600d90</Isitreproducibleid>
                        <modifieddate>04-05-2013 05:28 PM</modifieddate>
                        <module>Framework</module>
                        <status>ÊâìºÄ4</status>
                        <bugkey>GPI--9297</bugkey>
                        <assignee>Not Assigned</assignee>
                        <severity>Major</severity>
                        <lb_DATE1>customFiled-Date</lb_DATE1>
                        <statusid>f283ba39cf18480808a9d90dfc5</statusid>
                        <classificationid>f283ba39cf18480808a9dc36810</classificationid>
                        <lb_LONG1>customFiled-Numeric</lb_LONG1>
                        <reporter>name@emailid.com</reporter>
                        <title>API Release Test Cases</title>
                        <flag>Internal</flag>
                        <cf_CHAR1>Test case for Custom filed</cf_CHAR1>
                        <Isitreproducible>NeverTried</Isitreproducible>
                        <bugid>f283ba39cf18480808a9d8a793b</bugid>
                        <severityid>f283ba39cf18480808a9d5e80e0</severityid>
                        <classification>Security</classification>
                        <cf_LONG1>123456789</cf_LONG1>
                        <lb_CHAR1>customFiled-Text</lb_CHAR1>
                        <createdtime>01-11-2013 07:46 PM</createdtime>
                        <moduleid>f283ba39cf18480808a9dd1cff6</moduleid>
                        <closed>false</closed>
                        <cf_DATE1>01-01-2013 12:00 AM</cf_DATE1>
                        <projectid>f283ba39cf18480808a9db43ec7</projectid>
                  </BugDetail>
            </BugDetails>
            <BugDetails>
                  <BugDetail>
                        <Isitreproducibleid>f283ba39cf18480808a9d600d90</Isitreproducibleid>
                        <modifieddate>04-05-2013 05:28 PM</modifieddate>
                        <module>Framework</module>
                        <status>ÊâìºÄ4</status>
                        <bugkey>GPI--9296</bugkey>
                        <assignee>Not Assigned</assignee>
                        <severity>Major</severity>
                        <statusid>f283ba39cf18480808a9d90dfc5</statusid>
                        <classificationid>f283ba39cf18480808a9dc36810</classificationid>
                        <reporter>name@emailid.com</reporter>
                        <title>API Release Test Cases</title>
                        <flag>External</flag>
                        <Isitreproducible>NeverTried</Isitreproducible>
                        <bugid>f283ba39cf18480808a9d9a1c14</bugid>
                        <severityid>f283ba39cf18480808a9d5e80e0</severityid>
                        <classification>Security</classification>
                        <createdtime>01-11-2013 07:09 PM</createdtime>
                        <moduleid>f283ba39cf18480808a9dd1cff6</moduleid>
                        <closed>false</closed>
                        <projectid>f283ba39cf18480808a9db43ec7</projectid>
                  </BugDetail>
            </BugDetails>
      </result>
      <uri>/api/private/xml/bug/getprojbugs</uri>
</response>

Output JSON

{"response":{"result":{"BugDetails":[{"BugDetail":{"Isitreproducibleid":"f283ba39cf18480808a9d600d90","modifieddate":"04-05-2013 05:28 PM","reporter":"name@emailid.com","title":"API Release Test Cases","bugid":"f283ba39cf18480808a9d8a793b","moduleid":"f283ba39cf18480808a9dd1cff6","projectid":"f283ba39cf18480808a9db43ec7","closed":"false","cf_DATE1":"01-01-2013 12:00 AM","module":"Framework","status":"打开4","bugkey":"GPI--9297","assignee":"Not Assigned","classificationid":"f283ba39cf18480808a9dc36810","lb_LONG1":"customFiled-Numeric","statusid":"f283ba39cf18480808a9d90dfc5","severity":"Major","lb_DATE1":"customFiled-Date","flag":"Internal","cf_CHAR1":"Test case for Custom filed","Isitreproducible":"NeverTried","severityid":"f283ba39cf18480808a9d5e80e0","createdtime":"01-11-2013 07:46 PM","classification":"Security","cf_LONG1":"123456789","lb_CHAR1":"customFiled-Text"}},
{"BugDetail":{"Isitreproducibleid":"f283ba39cf18480808a9d600d90","module":"Framework","status":"打开4","bugkey":"GPI--9296","assignee":"Not Assigned","severity":"Major","statusid":"f283ba39cf18480808a9d90dfc5","classificationid":"f283ba39cf18480808a9d36810","reporter":"name@emailid.com","title":"API Release Test Cases,"flag":"External","Isitreproducible":"NeverTried","bugid":"f283ba39cf18480808a9d9a1c14","severityid":"f283ba39cf18480808a9d5e80e0","classification":"Security","createdtime":"01-11-2013 07:09 PM","moduleid":"f283ba39cf18480808a9dd1cff6","closed":"false","projectid":"f283ba39cf18480808a9db43ec7"}}]},"uri":"/api/private/json/bug/getprojbugs"}}

How to update or edit a bug?

Method Name :

https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/bugupdate

API Description :

Given authtoken and one of the bugids the bug will be updated on successful authentication

Parameters to be passed :

authtoken, bugid ,bugtitle,description ,assigneeid,isitreproducibleid, statusid, severityid,classificationid,moduleid ,duedate,flag,milstoneid and custom fileds(refer below)

Compulsory Parameters :

authtoken, bugid

Sample Call

<form method="post" action="https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/bugupdate?authtoken=[AuthToken]">

      <textarea id="txtDesc" name="description" value=""></textarea>
      <input type="text" name="bugid" value="">
      <input type="text" name="bugtitle" value="">
      <input type="text" name="assigneeid" value="">
      <input type="text" name="isitreproducibleid" value="">
      <input type="text" name="severityid" value="">
      <input type="text" name="classificationid" value="">
      <input type="text" name="moduleid" value="">
      <input type="text" name="duedate" value="">(date format must be "MM-dd-yyyy")
      <input type="text" name="flag" value="">
      <input type="text" name="milstoneid" value="">
      <input type="text" name="statusid" value="">
      <input type="text" name="CHAR1" value="" >
      <input type="text" name="CHAR2" value="" >
      <input type="text" name="CHAR3" value="" >
      <input type="text" name="CHAR4" value="" >
      <input type="text" name="CHAR5" value="" >
      <input type="text" name="CHAR6" value="" >
      <input type="text" name="CHAR7" value="" >
      <input type="text" name="CHAR8" value="" >
      <input type="text" name="CHAR9" value="" >
      <input type="text" name="CHAR10" value="" >
      <input type="text" name="CHAR11" value="" >
      <input type="text" name="CHAR12" value="" >
      <input type="text" name="LONG1" value="" >
      <input type="text" name="LONG2" value="" >
      <input type="text" name="LONG3" value="" >
      <input type="text" name="LONG4" value="" >
      <input type="text" name="DATE1" value="" >(custom date format must be "MM-dd-yyyy")
      <input type="text" name="DATE2" value="" >(custom date format must be "MM-dd-yyyy")
      <input type="text" name="DATE3" value="" >(custom date format must be "MM-dd-yyyy")
      <input type="text" name="DATE4" value="" >(custom date format must be "MM-dd-yyyy")
</form>

Output XML

<response>
      <result>
            <BugDetails>
                  <BugDetail>
                        <Isitreproducibleid>f283ba8dbc1123081dad61706403a9e2087</Isitreproducibleid>
                        <modifieddate>04-05-2013 05:28 PM</modifieddate>
                        <cf_CHAR1>BUG API Test case for custom fields</cf_CHAR1>
                        <reporter>name@emailid.com</reporter>
                        <title>BUG API Test case for Title</title>
                        <bugid>f283ba8dbc1123087f389d39c7d42ebe7b74a9</bugid>
                        <duedate>10-27-2013 12:00 AM</duedate>
                        <moduleid>f283ba8dbc112308f5ffdfbe8</moduleid>
                        <projectid>f283ba8dbc112308129a2785fd6e9e7a9a9c</projectid>
                        <closed>false</closed>
                        <cf_DATE1>10-27-2014 12:00 AM</cf_DATE1>
                        <module>Analytics</module>
                        <status>ÊâìºÄ4</status>
                        <bugkey>GPI--9298</bugkey>
                        <assignee>name@emailid.com</assignee>
                        <classificationid>f283ba8dbc1123081dad61706403a</classificationid>
                        <lb_LONG1> customFiled-Numeric</lb_LONG1>
                        <statusid>f283ba8dbc112308ba697740e8f520942a292</statusid>
                        <severity>Critical</severity>
                        <lb_DATE1>customFiled-Date</lb_DATE1>
                        <flag>External</flag>
                        <Isitreproducible>Sometimes</Isitreproducible>
                        <severityid>f283ba8dbc112308e57bdb7343b454ce5508</severityid>
                        <createdtime>01-15-2013 02:52 PM</createdtime>
                        <classification>Crash/Hang</classification>
                        <cf_LONG1>444444444</cf_LONG1>
                        <lb_CHAR1>customFiled-Text</lb_CHAR1>
                  </BugDetail>
            </BugDetails>
      </result>
      <uri>/api/private/xml/bug/bugupdate</uri>
</response>

Output JSON

{"response":{"result":{"BugDetails":[{"BugDetail":{"Isitreproducibleid":"f283ba8dbc1123081dad61706403a9e2087","modifieddate":"04-05-2013 05:28 PM","cf_CHAR1":"BUG API Test case for custom filed","reporter":"name@emailid.com","title":"BUG API Test case for Title","bugid":"f283ba8dbc1123087f389d39c7d42ebe7b74a9","duedate":"10-27-2013 12:00 AM","moduleid":"f283ba8dbc112308f5ffdfbe8","projectid":"f283ba8dbc112308129a2785fd6e9e7a9a","closed":"false","cf_DATE1":"10-27-2014 12:00 AM","module":"Analytics","status":"打开4","bugkey":"GPI--9298","assignee":"name@emailid.com","classificationid":"f283ba8dbc1123081dad61706403","lb_LONG1":" customFiled-Numeric","statusid":"f283ba8dbc112308ba697740e8f520942a292","severity":"Critical","lb_DATE1":"customFiled-Date","flag":"Internal","Isitreproducible":"Sometimes","severityid":"f283ba8dbc112308e57bdb7343b454ce5508","createdtime":"01-15-2013 02:52 PM","classification":"Crash/Hang","cf_LONG1":"444444444","lb_CHAR1":"customFiled-Text"}}]},"uri":"/api/private/json/bug/bugupdate"}}

How to delete a bug?

Method Name :

https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/delete

API Description :

Given authtoken, bugid, projId deletes the bug on successful authentication

Parameters to be passed :

authtoken, bugid, projId

Compulsory Parameters :

authtoken, bugid, projId

Sample Call

<form method="post" action="https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/delete?authtoken=[AuthToken]">
      <input type="text" name="projId" value="">
      <input type="text" name="bugid" value="">
</form>

Output XML

<response>
            <result>Deleted Successfully</result>
            <uri>/api/private/xml/bug/delete</uri>

Output JSON

{"response":{"result":"Deleted Successfully","uri":"/api/private/json/bug/delete"}}

How to get list of all bug properties in a project?

Method Name :

https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/getallbugproperties

API Description :

Given authtoken and projId returns the all bug properties on successful authentication

Parameters to be passed :

authtoken, projId

Compulsory Parameters :

authtoken, projId

Sample Call

<form method="post" action="https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/getallbugproperties?authtoken=[AuthToken]">

<input type="text" name="projId" value="">

</form>

Output XML

<response>
    <result>
        <BugPropertiesList>
            <IsitreproducibleDetails>
                <IsitreproducibleDetail>
                    <Isitreproducible_id>f283ba8dbc1123081da12d61706403a9e26755b1c1035e80e0</Isitreproducible_id>             <isitreproducible_name>Always</isitreproducible_name>
                <isItDefaultId>true</isItDefaultId>
                </IsitreproducibleDetail>
                <IsitreproducibleDetail>                     <Isitreproducible_id>f283ba8dbc1123081dad61706403a9e20873c4983b70e45f9c</Isitreproducible_id>      <isitreproducible_name>Sometimes</isitreproducible_name>
                    <isItDefaultId>false</isItDefaultId>
                </IsitreproducibleDetail>
                <IsitreproducibleDetail>                     <Isitreproducible_id>f283ba8dbc1123081dae5d61706403a9e2d84883e1add4138c</Isitreproducible_id>                     <isitreproducible_name>Rarely</isitreproducible_name>
                    <isItDefaultId>false</isItDefaultId>
                </IsitreproducibleDetail>
                <IsitreproducibleDetail>
                    <Isitreproducible_id>f283ba8dbc1123081dad61706403a92e29a9cc79863b473ec7</Isitreproducible_id>
                    <isitreproducible_name>Unable</isitreproducible_name>
                    <isItDefaultId>false</isItDefaultId>
                </IsitreproducibleDetail>
                <IsitreproducibleDetail>
                    <Isitreproducible_id>f283ba8dbc1123081dad61706403a9e2d40aad95b4600aad90</Isitreproducible_id>                     <isitreproducible_name>NeverTried</isitreproducible_name>
                    <isItDefaultId>false</isItDefaultId>
                </IsitreproducibleDetail>
                <IsitreproducibleDetail>
                    <Isitreproducible_id>f283ba8dbc11230281dad61706403a9e222383dd980c49sacf1</Isitreproducible_id>

                    <isitreproducible_name>NotApplicable</isitreproducible_name>
                    <isItDefaultId>false</isItDefaultId>
                </IsitreproducibleDetail>
            </IsitreproducibleDetails>
            <BugSeverityDetails>
                <BugSeverityDetail>
                    <Severity_id>f283ba8dbc112308e57bd2b7343b454ce551803d538d01273c</Severity_id>
                    <severity_name>ShowStopper</severity_name>                   

                    <isItDefaultId>false</isItDefaultId>                

           </BugSeverityDetail>                

           <BugSeverityDetail>                    

                   <Severity_id>f283ba8dbc1123083e57bdb7343b454ce55085ed8fb781bc5a</Severity_id>

                    <severity_name>Critical</severity_name>
                    <isItDefaultId>false</isItDefaultId>
            </BugSeverityDetail>
            <BugSeverityDetail>
                   <Severity_id>f283ba8dbc112308e57bdb7343b454ce6755b1c134035e80e0</Severity_id>

                   <severity_name>Major</severity_name>
                    <isItDefaultId>true</isItDefaultId>
             </BugSeverityDetail>
             <BugSeverityDetail>
                    <Severity_id>f283ba8dbc112308e57bdb7343b454ce034873c4983b70ef9c</Severity_id>

                    <severity_name>Minor</severity_name>
                    <isItDefaultId>false</isItDefaultId>

             </BugSeverityDetail>

            </BugSeverityDetails>            

      <BugClassificationDetails>
             <BugClassificationDetail>
                    <Classification_id>f283ba8dbc1123081da4d61706403a9e2404eded0283c36810</Classification_id>
                    <classification_name>Security</classification_name>                    

                    <isItDefaultId>false</isItDefaultId>                

                </BugClassificationDetail>
                <BugClassificationDetail>                    

                <Classification_id>f283ba8dbc1123081d5ad61706403a9e2908bd84a17b3934b2</Classification_id>
                <classification_name>Crash/Hang</classification_name>                    

                <isItDefaultId>false</isItDefaultId>
                </BugClassificationDetail>
                <BugClassificationDetail>

        <Classification_id>f283ba8d3bc1123081dad61706403a9e2c4cb45e2f0cbd7495</Classification_id>
             <classification_name>DataLoss</classification_name>
             <isItDefaultId>false</isItDefaultId>                

         </BugClassificationDetail>
         <BugClassificationDetail>
         <Classification_id>f283ba8dbc1123081dad61706403a9e2b882d17dsaf01267ac</Classification_id>
                <classification_name>Performance</classification_name>                    

                <isItDefaultId>false</isItDefaultId>
                </BugClassificationDetail>
                <BugClassificationDetail>
                    <Classification_id>f283ba8dbc11230831dad61706403a9e2c459db5fe7581e6d1</Classification_id>
                    <classification_name>UI/Usabililty</classification_name>
                    <isItDefaultId>false</isItDefaultId>
                </BugClassificationDetail>
                <BugClassificationDetail>
                    <Classification_id>f283ba8dbc11230811dad61706403a9e281a4b8fb61b369072</Classification_id>
                    <classification_name>OtherBug</classification_name>
                    <isItDefaultId>true</isItDefaultId>
                </BugClassificationDetail>
                <BugClassificationDetail>
                    <Classification_id>f283ba8dbc1123081dad61706403a9e2da8d5d18wq95ff2cca</Classification_id>
                    <classification_name>Feature(New)</classification_name>
                    <isItDefaultId>false</isItDefaultId>
                </BugClassificationDetail>
                <BugClassificationDetail>
                    <Classification_id>f283ba8dbc21123081dad61706403a9e213902cd03809a1c14</Classification_id>                     <classification_name>Enhancement</classification_name>
                    <isItDefaultId>false</isItDefaultId></BugClassificationDetail>                

                 </BugClassificationDetails>            

                 <BugModuleDetails>                

                 <BugModuleDetail>                    

                          <Module_id>f283ba8dbc112308dbc63d920b5087e50d2a8d5d1895ff2cca</Module_id>                    

                          <module_name>project 2</module_name>                    

                          <isItDefaultId>true</isItDefaultId>                

                 </BugModuleDetail>           

                 </BugModuleDetails>            

                 <BugStatusDetails>                

                     <BugStatusDetail>                    

                         <Status_id>f283ba8dbc112308e57bdb73243b454ce2ccf2d6b1a3b5fd20</Status_id>                     <status_name>Open</status_name>                    

                         <isItDefaultId>true</isItDefaultId>                

                     </BugStatusDetail>                

                   <BugStatusDetail>                    

                            <Status_id>f283ba8dbc1123308e57bdb7343b454ced7bf3b3126201648b</Status_id>

                            <status_name>InProgress</status_name>

                            <isItDefaultId>false</isItDefaultId>                

                   </BugStatusDetail>                

                   <BugStatusDetail>
                            <Status_id>f283ba8dbc1122308e57bdb7343b454ce13fec80c49d902cf9</Status_id>
                            <status_name>ToBeTested</status_name>
                            <isItDefaultId>false</isItDefaultId>                

                   </BugStatusDetail>                

                   <BugStatusDetail>                    

                             <Status_id>f283ba8dbc112308e57bdb7343b454ce631e5643263b008dc8</Status_id>

                             <status_name>Closed</status_name>                    

                             <isItDefaultId>false</isItDefaultId>               

                    </BugStatusDetail>               

                    <BugStatusDetail>
                               <Status_id>f283ba8dbc112308e57bdb73343b454ce3d00e4eb7f51262fd</Status_id>
                               <status_name>Reopen</status_name>
                               <isItDefaultId>false</isItDefaultId>                

                     </BugStatusDetail>

                     </BugStatusDetails>        

                 </BugPropertiesList>    

</result><uri>/api/private/xml/bug/getallbugproperties</uri></response>

Output JSON

{"response":{"result":{"BugPropertiesList":{"BugSeverityDetails":{"BugSeverityDetail":[{"Severity_id":"f283ba8dbc112308e57bdb17343b454ce5518303d538d0273c","isItDefaultId":"false","severity_name":"ShowStopper"},{"Severity_id":"f283ba8dbc11a2308e57bdb7343db454ce5508ed8fb781bc5a","isItDefaultId":"false","severity_name":"Critical"},{"Severity_id":"f283ba8dbc112308e57bdb7a343b454ce6755b1cd1035e80e0","isItDefaultId":"true","severity_name":"Major"},{"Severity_id":"f283ba8dbc112308e57bdb73d43b454ce0873c4a983b70ef9c","isItDefaultId":"false","severity_name":"Minor"}]},"BugStatusDetails":{"BugStatusDetail":[{"status_name":"Open","isItDefaultId":"true","Status_id":"f283ba8dbc1123d08e57bdb7343b454ce2ccf2ad6b1ab5fd20"},{"status_name":"InProgress","isItDefaultId":"false","Status_id":"f283ba8dbc112308e57abdb7343b454ced7bf3bd316201648b"},{"status_name":"ToBeTested","isItDefaultId":"false","Status_id":"f283ba8dbc112308e57dbdb7343b454ce1feac80c49d902cf9"},{"status_name":"Closed","isItDefaultId":"false","Status_id":"f283ba8dbc112308e57bdba7343b454ce631e56463ba008dc8"},{"status_name":"Reopen","isItDefaultId":"false","Status_id":"f283ba8dbc112308e57bdb73d43b454ce3d0a0e4eb7f5162fd"}]},"IsitreproducibleDetails":{"IsitreproducibleDetail":[{"isItDefaultId":"true","isitreproducible_name":"Always","Isitreproducible_id":"f283ba8dbc1123081dad61706403aa9e26755b1c10a35e80e0"},{"isItDefaultId":"false","isitreproducible_name":"Sometimes","Isitreproducible_id":"f283ba8dbc1123a081dad61706403a9e20873ca4983b70ef9c"},{"isItDefaultId":"false","isitreproducible_name":"Rarely","Isitreproducible_id":"f283ba8dbac1123081dad61706403a9e2d84883ea1add4138c"},{"isItDefaultId":"false","isitreproducible_name":"Unable","Isitreproducible_id":"f283ba8dbc11a23081dad61706403a9e29a9cc7a9863b43ec7"},{"isItDefaultId":"false","isitreproducible_name":"NeverTried","Isitreproducible_id":"f283ba8dbc11a23081dad61706403a9e2da40aad95b4600d90"},{"isItDefaultId":"false","isitreproducible_name":"NotApplicable","Isitreproducible_id":"f283ba8dbac1123081dad61706403aa9e222383dd80c49acf1"}]},"BugModuleDetails":{"BugModuleDetail":{"Module_id":"f283ba8dbc11a2308dbc6d920b5087e50da8d5d18a95ff2cca","isItDefaultId":"true","module_name":"project 2"}},"BugClassificationDetails":{"BugClassificationDetail":[{"Classification_id":"f283baa8dbc1123081dad61706403a9e2404aeded083c36810","isItDefaultId":"false","classification_name":"Security"},{"Classification_id":"f283ba8dbc112a3081dad61706403a9e2908bd84a1ab3934b2","isItDefaultId":"false","classification_name":"Crash/Hang"},{"Classification_id":"f283ba8dbc11d23081dad61706403a9e2ca4cb5e2f0cbd7495","isItDefaultId":"false","classification_name":"DataLoss"},{"Classification_id":"f283ba8dbc11d23081dad61706403a9e2b882da17df01267ac","isItDefaultId":"false","classification_name":"Performance"},{"Classification_id":"f283ba8dbc1123a081dad61706403a9e2c459dbafe7581e6d1","isItDefaultId":"false","classification_name":"UI/Usabililty"},{"Classification_id":"f283ba8dbc1123a081dad61706403a9e281a4bd8fb1b369072","isItDefaultId":"true","classification_name":"OtherBug"},{"Classification_id":"f283ba8dbc1123d081dad61706403a9e2da8d5ad1895ff2cca","isItDefaultId":"false","classification_name":"Feature(New)"},{"Classification_id":"f283ba8dbc1123081dad61706403a9e213902cd0da809a1c14","isItDefaultId":"false","classification_name":"Enhancement"}]}}},"uri":"/api/private/json/bug/getallbugproperties"}}

How to get list of all custom fields in a project?

Method Name :

https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/fetchcustomfield

API Description :

Given authtoken and ProjId returns the all custom fields on successful authentication

Parameters to be passed :

authtoken, projId

Compulsory Parameters :

authtoken, projId

Sample Call

<form method="post" action="https://projectsapi.zoho.com/portal/{PortalName}/api/private/{xml/json}/bug/fetchcustomfield?authtoken=[AuthToken]">
      <input type="text" name="projId" value="">
</form>

Output XML

<response>
      <result>
            <CustomFields>
                  <CustomField>
                       <cf_columnname>LONG1</cf_columnname>
                       <cf_lablename>custom field numeric</cf_lablename>
                  </CustomField>
                 <CustomField>                       
                            <cf_columnname>CHAR1</cf_columnname>
                            <cf_lablename>Browser</cf_lablename>
                            <cf_fieldtype>picklist</cf_fieldtype>
                            <cf_picklist>
                                   <cf_picklistvalue>IE</cf_picklistvalue>
                                   <cf_picklistvalue>Firefox</cf_picklistvalue>
                                   <cf_picklistvalue>Chrome</cf_picklistvalue>
                            </cf_picklist>
                     </CustomField>
                </CustomFields>
       </result><uri>/api/private/xml/bug/fetchcustomfield</uri></response>

Output JSON

{"response":{"result":{"CustomFields":{"CustomField":[{"cf_columnname":"CHAR5","cf_lablename":"RaisedPeriod"},{"cf_columnname":"CHAR4","cf_lablename":"Priority"},{"cf_columnname":"CHAR3","cf_lablename":"Code"},{"cf_columnname":"CHAR2","cf_lablename":"ToBeFixedIn"},{"cf_columnname":"CHAR1","cf_lablename":"Issuetype"},{"cf_columnname":"DATE1","cf_lablename":"Updated Date"}]}},"uri":"/api/private/json/bug/fetchcustomfield"}}

Top