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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events