Hi,
I am using script runner for automation, I have a scenario to identify if issue is created from JIRA rest API so i can play with that issue .
Hi @Muhammad Ramzan(Atlassian Certified Master) ,
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.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.