Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automate Issue Assignment, BUT only to logged-in agents

samar_singh August 24, 2022

Hello,

I am trying to create an automation to assign issues to Service Desk Agents. But, I would like to assign issues only to the Agents how are logged-in (i.e. not on holiday/sick etc.)

I can't figure out how to add condition in the automation to check logged-in Agents. Could someone please help? thanks a lot in advance.

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 24, 2022

Jira does not really have a "user is logged in" block of code, it's a reactive service, not an active one.  It only knows a user is logged in when they are interacting with it, and that's atomic - you could say "they've logged in, so count them as such until their session expires", but that's no guarantee that they're logged in - I regularly open Jira, have a rummage, and then wander off to do something else.  Am I still logged in during the next several hours I'm not even in front of the computer?

You will need to set up some form of calnder so you can tell Jira when a user is available to be assigned.  I've seen this done in Jira with a project that had one issue per user, with an automation that flagged it as "open" while they were on call, and "away" when not, plus a "holiday/sickness" flag to deal with the non-standard breaks.

There are some apps in the marketplace that are a lot more flexible and powerful than that.

samar_singh August 26, 2022

thank you very much @Nic Brough -Adaptavist- 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events