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??

Thanks,

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,309 views 12 19
Read article

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