Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Run automation only when a user creates the issue through jira portal

nik_shivamprajapati February 28, 2022

I've added a Jira automation for issue created event. 

In my use case, there are two types of users.

1) create issues directly through Jira software.

2) create issues using Jira rest-API.

I want the automation to only run for the 1st type of user. How can I do it?

2 answers

1 accepted

3 votes
Answer accepted
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 28, 2022

Hi @nik_shivamprajapati - There are a couple ways that I can think of:

  1. Assuming issues created via the API are always going to be the same account and that account never creates via the portal
    1. Add condition that creator != your API account
  2. Set some kind of distinguishing marker for issues created by the API (tag, component, custom field)
    1. Add condition that tag/component/custom field != to whatever was set
0 votes
Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2022

Hi @nik_shivamprajapati,

There is no out of the box solution to telling the difference here. From an Automation point of view, the requests look the same.

You'll need to come up with something along the lines of what @Mark Segall has suggested.

Cheers,

Simeon.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events