It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way we can find issue is created from API or from UI

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 . 

1 answer

0 votes
Tansu Akdeniz Community Leader Nov 15, 2019

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.

Regards

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you