NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
JIRA currently does not support the "was" JQL operator for the Component field.
Implement "was" JQL operator for Component field
Allow Versions of components
WAS JQL operator for Component field