Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to differentiate that a jira issueEvent received by plugin is made by UI call

Aayush Mohanka December 16, 2020

I have a plugin which update 3rd party app when there is some event triggered (assignee changed, status changes).

My application also update transition for issue, all together it is in sync.

how do I know that issue event received by my plugin is because there is some change made via UI or via API hit

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 17, 2020

Hi @Aayush Mohanka 

For other automation in Jira Cloud, you may check the {{initiator}} and its fields to determine if the triggering entity was a user, automation user, etc.  I do not believe this works for all of the DevOps triggers.

Is that field/smart value available in your problem context?

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events