Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...


Info

This guide is based on Jira built-in automation functionality.

...

Info

The guide works for Classic projects only. Next-gen projects are too limited at the moment. and do not support automation features.

Jira allows creating an issue from an email.

...

"Save checklist data to Jira custom fields" option must be enabled in Issue Checklist Global Settings

Step by step guide

  1. Create a new rule in Automation plugin (go to Project Settings > Project automation and click Create rulebutton)

    Image Modified

  2. Select "Issue Created" as a trigger

    Image Modified

  3. Click "Save" in the next step when asked about creating a new rule.

  4. Select "New Action" option in the next step

     Image Modified

  5. Select "Edit Issue" option on the "New Action" page

    Image Modified

  6. On the "Edit Issue" page select "Checklist Text" field from the dropdown

    Image Modified

  7. Paste following regular expression into the text field and click "Save" button to continue

    No Format
    {{issue.description.match("(?s)(\[\].*)")}}


    Info

    The above regular expression matches the text (in the email body) that starts with empty square brackets []. Read more how to work with regular expressions in Automation app


  8. In the last step give a name to your rule and click the "Turn it on" button.



  9. Test your setup with the following email body

    No Format
    This is some email text. 
    It can be multiline.
    The checklist starts below.
    [] first checklist item
    [] second checklist item
    [] last checklist item
    Unfortunately, this line will become a checklist item too so you must avoid anything below the checklist. 

    which should turn into the following checklist