You can add a key "expanded" in the section's properties and set the value to "false" (default is "true"). For the details, please refer to the article https://jazz.net/library/article/130#properties (table 3 in Properties chapter).
Pravin Patil selected this answer as the correct answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means.
Learn more here.