Hi,
I wanted to create an automation in Jira Service Desk that lets me assign issues to a particular agent on a daily basis. For example, Agent A gets assigned all email requests that come on Monday. Agent B gets assigned the requests on Tuesday and so on.
I do not wish to use any add on or plugin for this purpose. I've tried achieving the same using JQL but I think I am not using the correct queries.
As shown in the images I've shared, I am using the query : created >= startOfWeek() and created <= endOfDay(). This, according to me defines issues created on Monday. Similarly, created >= startOfWeek(1d) and created <= endOfDay() for issues created on Tuesday and so on ( I've configured the week to start from Monday )
Could you please help me achieve this using JQL, and let me know if I am doing something wrong here?
Thanks !
Greetings,
regarding your query, try:
Monday
created >= startOfWeek(1d) and created <= startOfWeek(2d)
Tuesday
created >= startOfWeek(2d) and created <= startOfWeek(3d)
and so on.
Hope this helps.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the feedback :)
If you could consider marking the answer as accepted, that would be awesome!
Have a great day!
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How and where can I set what the start of the week is. I've now used just:
created >= startOfWeek(1d) and created <= startOfWeek(2d)
for monday but the issues remain unassigned.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
created >= startOfWeek() and created <= startOfWeek(1d)
That could work perhaps, for mondays.
Tho nothing likes to work on/for mondays. So keep that in mind :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.