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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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) Edited

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

0 answers

Suggest an answer

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

Developer Day is next week – check out the agenda!

Hey there, community! Hope everyone is well and safe! ✨ The last few months have been busy – especially with the judging + picking of our Codegeist 2020 winners, the launch of Atlassian Ventures, a...

195 views 1 7
Join discussion

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