Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Update custom field based on in-line editing the "Assignee" - How?(without F5)


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.



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.



So basically:


Assignee Changes(Between 2 users) 


Update "Group" custom field(Lookup Assignee in Insight Object attribute = Jira User -> Get Group-attribute value.



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.



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

1 answer

0 votes
Sudarshan Community Leader Jan 04, 2021

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Feedback & Announcements

Announcing Data Residency for Standard and Premium licenses

Update: We have just released data residency for Austra...

5,216 views 13 40
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you