Rally Software

 View Only
  • 1.  How to query a Web Link type of field

    Posted Mar 11, 2020 02:11 PM
    I have a custom field of type Web Link on Portfolio Items called "SN Change Request Link".

    I am trying to write a query to find all portfolio items (Initiatives in this case) that have a value in this field. I have tried several things and none of these are working:
    (SNChangeRequestLink.ID != null)
    (SNChangeRequestLink.Name != null)
    (SNChangeRequestLink != null)

    Rally displays the following error when I try any of these:
    "Could not parse: Attribute "SNChangeRequestLink" on type Artifact is not allowed in query expressions."

    How can I query based on this type of field?

    Thanks 
    -kyle


  • 2.  RE: How to query a Web Link type of field
    Best Answer

    Broadcom Employee
    Posted Mar 11, 2020 05:32 PM
    Hi Kyle,

    You will probably need to add a c_ to your weblink field.  So for example if I look at a weblink field directly in the API in my environment I see this:


    So accessing the ID would be c_WebLink.LinkID and accessing the text would be c_WebLink.DisplayString