Use the Issues API instead of search
Searching is subject to delays that might change, but the Issues API will return current results. This fixes the problem of duplicate issues being created during the search delay.
Closes gitlab#211417 (closed)
Edited by Mark Lapierre