Hi Atlassian Community.
I have a use case, where I need to update a custom field(Insight) based on the "Assignee" field.
But I am not sure IF this is possible and HOW to achieve this.
Setup/Configuration:
An Assignee belongs to a single "Group" - This needs to be synces at all times in Jira
This "Group" attribute is stored on a User object in Insight, which is referenced/linked to the Jira user - and thereby the Assignee.
Use case:
When Assignee is changed from User A -> User B on issues in-line editing, the Group custom field on the issue needs to be updated with new value.
Automation:
So basically:
WHEN
Assignee Changes(Between 2 users)
THEN:
Update "Group" custom field(Lookup Assignee in Insight Object attribute = Jira User -> Get Group-attribute value.
Problem:
I need this date-update in the field to happen instant WITHOUT refreshing the browser(F5).
I highly assume there is only one way of doing this = Groovy scripting :D
Is this in-line editing refresh possible? If so, how/where should this be achived through groovy? And what mechanism/event is/can trigger this field refresh?
If this is NOT technically possible - What alternatives do I have?
Currently I only know of disabling in-line editing on the Assignee field and force all users to use the native "assign"-button to generate the data refresh - But that would break a major native funtionality in Jira - And I would hate to do this.
Note:
We have actually achived syncing Reporter to a custom field(Insight) at all times - But that is a 100% strict 1:1 filter assign insight rule defined on the custom field itself - I cannot do this with the Assignee<->Group field, hence I only need partial sync based in certain scenarios
I would highly appreaciate any input, recommendations and solutions to this - This requirement is currently a hard requirement for the project implementation/migration
Thanks in advance
Hi,
The requirement seems tobe viable with Groovy or any JS. and automation.
Is this still a need or did you find a solution to auto update the date field?
It is a tight call to auto update a field in Jira, all I have seen is If incase there is any update in a page (could be a field or a value change) Jira normally notifies saying there are changes and hit refresh.
My reason for not implementing auto update in Jira (server) is mostly because, Jira is a not a high dynamic application which requires immediate and frequent changes (not a stock market site :D ), hence an auto update is not needed (hit F5 to see the changes works well)
All I would say for the auto date update is, think over again if it is a real need.?
else the field must be written with a condition for update.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.