Forums

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

Hi team , how can i query using JQL whether the field was last updated ?

Shrikant Maheshwari February 18, 2019

Hi team, how can i query using JQL whether the field was last updated?

Requirement -

I want to trigger a webhook only when a specific field is changed, if i use the webhook Issue update event the webhook will trigger whenever any field changes in that issue, but i want to trigger webhook only when a specific field is updated.

1 answer

1 vote
Milan Chheda [INFOSYSTA]
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.
February 19, 2019

You can do this using ScriptRunner add-on, if you have it. Using the add-on you can write a script that would listen only when the custom field is updated. And inside the script, you can check whether custom field value hasChanged or not. Below links would be useful, if you decide to go ahead with ScriptRunner:

 

https://community.atlassian.com/t5/Answers-Developer-Questions/Script-listener-for-changes-to-custom-field-runs-too-often/qaq-p/529425

https://community.atlassian.com/t5/Marketplace-Apps-questions/Find-out-if-a-JIRA-update-event-changes-a-specific-issue-field/qaq-p/618091

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events