Create issues automatically on a scheduled basis?

Issue #487 resolved
Shai Dahan created an issue

Hello Fidel,

I hope you are well and you are doing fine.

I was wandering if you can help me in one of user's requests.

We have a requirement to create a Windows Patching (issue type) ticket every 2nd Wednesday of the month at 10am.

Do you have any enhancement which can facilitate this type of request?

Comments (5)

  1. Fidel Castro Armario repo owner

    Hi Shai, Thanks, I'm fine.

    There is a solution that requires the usage of 2 plugins JIRA Workflow Toolbox and JIRA Automation Plugin free add-on.

    The solution I'm proposing requires the execution of a transition where we have inserted a Create issues and subtasks post-function. This transition will be executed monthly by a JIRA Automation Plugin rule. For this reason, we require the creation of a special project, issue type and workflow only visible for administrators and intended for this special purpose.

    I describe the solution step by step:

    1. Create a project called "Administration Tasks".
    2. Create an issue type calle "Periodic Task" and include it in the issue type scheme of project "Administration Tasks".
    3. Create a workflow from the JIRA default workflow called "Workflow for Periodic Tasks", and associate it to "Periodic Task" issue type.
    4. Insert a reflexive transition called "Create Windows Patching" with "In Progress" as origin and destination status.
    5. Insert Create issues and subtasks post-function in "Create Windows Patching" transition with the configuration required for creating a Windows Patching issue.
    6. Create a "Periodic Task" issue called "Monthly Windows Patching" in project "Administration Tasks", and move to status "In Progress". I will suppose that the issue key for this issue is AT-1.
    7. Install JIRA Automation Plugin add-on.
    8. Create a JIRA Automation rule like this one:

    Captura de pantalla 2017-01-24 a las 20.23.11.png

    The cron setting is:

    0 0 10 ? * 4#1 *
    
  2. Shai Dahan Account Deactivated reporter

    Fantastic Fidel - Thank you very much.

    I will try your suggestion and let you know how did it go.

  3. Shai Dahan Account Deactivated reporter

    Works like a charm

    Thank you very much for your help, perfect as always and always come with good service

  4. Log in to comment