Hello,
I have the same question only that the automation must be done in the asset section of Jira Service Management and not in the automation section of the project.
It is basically about a similar case with the license management issue. As a license manager, I want to get an overview or information when a license is close to the end date (expiration date).
I want to create an automation so that a Jira task is created when a license reaches the End Date in 2 months.
I have tried it so far as follows (see screenshot).
Thank you very much in advance.
So, in assets there are a lot of attributes but in this case I will use only these:
Nimi means Name, Kaua litsents kehtib means How long is valid and Aegumise teavitus means Expiration notification and under that there are 4 options: 1 kuu, 2 kuud, 3 kuud and 4 kuud (these are 1 month, 2 months, 3 months and 4 months). Status Töös means used.
Second IF AQL:
objectType=Litsentsid and ("Kaua litsents kehtib">now() AND "Kaua litsents kehtib" <= now(30d) And "Aegumise teavitus" = "1 kuu" And Staatus = Töös) or ("Kaua litsents kehtib">now() AND "Kaua litsents kehtib" <= now(60d) And "Aegumise teavitus" = "2 kuud" And Staatus = Töös) or ("Kaua litsents kehtib">now() AND "Kaua litsents kehtib" <= now(90d) And "Aegumise teavitus" = "3 kuud" And Staatus = Töös) or ("Kaua litsents kehtib">now() AND "Kaua litsents kehtib" <= now(120d) And "Aegumise teavitus" = "4 kuud" And Staatus = Töös)
Thanks @Elmo Kuslap
it does not work but it gives me a better understanding how it could work!
I now set it up like this (see the screenshot)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have done this so (maybe it will help), that I have 3 statuses: used, extend and not used.
So once a day starts automation which look: objcetType = Licences and "How long is valid" <=now(30d) and "Expiration notification" = "2 month" and Status = used, THEN create jira issue and change attribute value.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Elmo Kuslap
what language is it? :D
Could you maybe paste the AQL-Code in here so that I can translate it to english?
Thanks in advance!
You are a big help :)
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.