You can use jira rest api to integrate selenium with xray jira
https://qanovation.com/2020/04/03/uft-integration-with-xray-jira/