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,


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

1 vote

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.

Thanks Nic... will find a way

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

254 views 6 0
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