Updating a Custom field based on Changed Data

I have an integration that triggers off of a "Changed Flag" field. What I want to happen is any time the Due Date or several other date fields change (most of these changes are done by hand, not through Status change) I want the Changed Flag to Update so the record is processed.

The Workflows rules I currently see are all tied to Status change. But some of these dates are manually changed by hand and not through a status change.

Any ideas??


1 answer

0 vote

When you're looking for "update on edit", you need to find or write "listeners" to catch the "issue updated" event, check your data and update the calculated field.

There is another option - if you have a fixed formula on how your data is derived (in other words, the user never fills in the "changed flag", it's always calculated), you could use a "scripted field" instead - these are automatically regenerated on any change to an issue (apart from linking)

In both cases, you'll need some code to provide the listener or scripted field.  There's plenty in the marketplace, but if you can't find something flexible enough, you'll either need to write plugins or look for a flexible scripting or automation add-on

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

809 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you