I have a custom text-field that contains the status of a particular ticket. When this field is updated, I would like to have another custom date field automatically updated so it is possible to filter on all tickets where the field hasn't been updated in certain timeframe.
Is it possible to do this? I know it can be done with the Last Updated date, but I don't want to know when the ticket itself was last updated, just this particular field.
Community moderators have prevented the ability to post new answers.
What you can do is:
changeItems = issueEvent.getChangeLog().getRelated("ChildChangeItem"); for(GenericValue gv: changeItems){ String changedFieldKey = gv.getAllFields().get("field").toString(); String changedFieldType = gv.getAllFields().get("fieldtype").toString(); ...... }
Hi!
You could update auxiliary custom field at the moment of issue update via event listener: https://developer.atlassian.com/jiradev/jira-platform/other/tutorial-writing-jira-event-listeners-with-the-atlassian-event-library
Just check that your text field has been updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.