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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,089 views 13 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot