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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

38 views 0 4
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