Hi All,
Firstly TIA!
I am trying to work out some logic with an automation with our JSM instance.
I would like run the following logic:
IF project DPKTP AND status <=2 "In Progress" AND Organization = "same organization".
THEN transition next ticket in queue to In Progress.
ELSE do nothing.
In simple terms if X organization has less than 2 in progress tickets move the next ticket in line to in progress automatically. This should adhere to my SLA agreements and such and any other automations etc...
I am trying to conjure up some wonderful automation in Jira Automations but coming up short with a way to make this work.
See attached what I have started but coming unstuck with how to make it conduct my automation nicely.
Hi @Kale Bullen For this you need to write a project automation rule, use Lookup issues Action to count the number of issues match JQL.
Hi Mate,
Thanks for this! It is a great start!
Now can you help me refine it further.
Hope that makes sense.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Kale Bullen You're Welcome!
You need to modify JQL query for Lookup issues based on your requirement. I used simple JQL query. Using JQL filter out those issues on which you are working.
Modify Compare two value Condition I used six replace it with 3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Vikrant Yadav Thanks for this. But I am struggling how to get this lookup to include organisations field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Kale Bullen For organization, you can use smart value in JQL query :-
Organizations = {{issue.customfield_10002.name}}
JQL : Organizations = {{issue.customfield_10002.name}} AND status = "In Progress"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok wonderful making headway!
This is what I have now.
See below.
Do you know how I can tackle the part where it will move the next ticket in queue to active? I would also like to change this automations trigger from when issue created to something like a schedule to run once a day or "X" time interval. Or even maybe when an issue is transitioned to statusCategory of done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Just pinging this thread again to see if anyone has any ideas for me as I am still stuck with this final piece of the puzzle.
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.