Hi,
We have fixed set of people who are oncall. each one is oncall for a week.
what we want is if personA is oncall during the week, then all tickets created should be assigned to personA.
Expectation is that new tickets would be assigned to these two. Every wednesday shift changes so this week till wednesday 5pm it should be assigned to PersonA@gmail.com and from upcoming wednesday 5pm it should be assigned to PersonB@Gmail.com till next wednesday.
I need automation for this we are using JIRA DC version.
Thanks & Regards,
Sunil Kumar M.
in order to answer this, there are a few questions to be asked prior to that:
1. How is the information about the oncall person stored? Jira must be made aware of that or is it some fixed logic behind that?
2. Which version of Jira are you using?
3. Are you using any other addons in Jira, for example ScriptRunner?
The easiest, but also less flexible way would be to use the default assignee in a Jira project. This would assign all issues that do not have an assignee specified to the default assignee. Speaking of oncall, the current person could be updated everytime this changes, which ensures that all the unassigned issues will be moved to this person. See here for more information on default assignee: Automatically assign issues to people | Jira Cloud | Atlassian Support (you can find it under Project > Users and Roles > Edit defaults)
Doing this in plain Jira automation might be a little difficult in my understanding, because this automation must be made aware somehow, which person will be oncall in the current week. Therefore, answers aside from the above default assignee can only be given based on your answers to the first questions :)
Hope this helps!
Stefan
Hi Stefan,
Thanks for the response,
1) We will have sprint calls every week, Wednesday to Wednesday, So, all tickets should assign to Person A and for one week sprint and automatically tickets should assign to person B for another sprint.
2) I'm using JIRA DC version.
3) We are not using script runner.
Can you please suggest automation rule for this?
Regards,
Sunil Kumar M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in this case, I think the most flexible and easiest way is to make use of the default assignee in the Jira project as mentioned above.
You could agree to change the default assignee during your Sprint meeting as routine. I am not aware of any automation which could achieve that - especially because you cannot store information such as "oncall person" or "default assignee" to the Sprint.
Hope this helps!
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
We have fixed 2 members for sprint weeks, 1 person for 1 week 2nd person for another week.
Thanks & Regards,
Sunil Kumar M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunil,
there is no way for a Jira automation alone to handle that. All the automations are doing is working based on JQL results. And there is no JQL like "weekNumber IS ODD" or something like that to differentiate between the weeks according to your needs.
So, unfortunately, this requirement will not be possible to be fullfilled using only Jira Automation.
Regards,
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One additional option here might be to add some kind of PagerDuty application, which can then be used by Jira Automation WebHooks to find the current onCall person.
See here for more details:
Solved: How to assign oncall (grabbing the current oncall ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is it possible to pick those current oncall user's from Zenduty?
Thanks & Regards,
Sunil Kumar M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not know about Zenduty, but if this is a web-based tool, then there should be a way of obtaining that information using the Webhook functionality in Jira Automation.
This might help you:
Working with incoming webhook data in Automation for Jira | Jira | Atlassian Documentation
Once you get the data, you should be able to assign the issue as described here:
How to assign a user with smart values
Hope this helps!
Stefan
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.