add user to a project role based on their group when their login to JIRA, when they logout they are remove from the project role

Hi All,

 

I have a requirement for Assignee,

Scenario:

When my user assign an issue, it will show only "Logged IN" user in the assignee field. When they logout from JIRA or close browser, they are not visible in assignee field

So far i have tried:

  1. group picker
  2. user picker based on project role
  3. Using nFeed

But i stuck with below: login.lastLoginMillis and lastAuthenticated method, since it will depends on the interval i set which end-users will vary on their behavior.

 

Any suggestion? If Scriptrunner able to do this or any other plugins?

 

2 answers

This widget could not be displayed.

None of those approaches are going to work really.  Fields don't have any information about who might be logged in as it's generally irrelevant, and even if you're thinking "only assign to people who are currently working", that's quite horrible because it's often the wrong option.  A far better option is to train your operatives to monitor and  react to the queues properly.  If something important comes in and you're unsure who is around, use a chat programme to see who is around and willing to pick it up for example.

But, if you must go this way, you are going to need to write a new field that, when rendered, can offer a list of users that you know have logged in less than X milliseconds ago.

This widget could not be displayed.

Thanks Nic... will find a way

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

170 views 1 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you