How to get possible priority, difficulty values ββusing the Sparx EA Automation API
I am looking into the Sparx EA Automation API. I am trying to get all the metadata of fields using an API. For some fields of type "Status", we can get all possible values ββ(for example, "High", "Medium", "Low") and "Repository". But I can't seem to find a possible list of values ββfor priority and complexity.
I checked the database and realized that initially it was not in any table. Also, if we change the list of values, it goes into the database table.
Is there a way to get always possible values ββusing the API?
+3
source to share
2 answers
The Repository.GetReferenceList () function has been improved in EA 11 to allow access to the Priority and Difficulty help lists by passing the "List: PriorityType" or "List: DifficultyType" parameters.
For example:
Repository.GetReferenceList("List:PriorityType");
Repository.GetReferenceList("List:DifficultyType");
+2
source to share