Hi @Muhammad Ramzan ,
You can create a new user (ex: jirarestuser) to do a REST calls, so it is easy to identify whether issue was created from REST or not. In issue search screen, use creator=jirarestuser jql.
Alternatively, you can add a new customfield to issue create screen and make it hidden via Script Runner Behaviours feature. So that, when issue is created within Jira, users can never fill it. However, you can set this field (ex value: REST) while creating via REST API.
Hope it helps.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events