Agile Central: Defect - Unable to query field: SalesForce Case ID

Document ID : KB000098238
Last Modified Date : 28/05/2018
Show Technical Document Details
Question:
When querying the field: "SalesForce Case ID" on a Defect by WSAPI we are getting: 

SalesforceCaseID    
Query Expression Operators    This attribute cannot be used in queries.

This is an out of the box field. What does this error mean?
Answer:
For more info see: https://rallydev.com/rally-support-manager-user-guide

On the Defect artifact you can find these two fields:
User-added image

User-added image

User-added image

The SalesForce Case ID is an internal attribute within Rally and can not be used in queries. As you see, it is used within the Defect's revision history. When trying to use it in queries you will result with a message "This attribute cannot be used in queries."

You do need to use the SalesForce Case Number field in your queries.