Page tree
Skip to end of metadata
Go to start of metadata

Playground and DEMO space

This is a playground and demo space for ConfiForms and ConfiDoc addons developed and supported by Vertuna LLC

Most pages provide a storage format for the demo, so you can use the free add-on from Atlassian Confluence Source Editor to import this configuration into your Confluence and see it in action

Please note, all the examples here are provided without any obligation and may or may not be incomplete or may have bugs, and we provide NO SUPPORT for these examples and demos.


This is a demo to illustrate how you can create Jira issue with ConfiForms IFTTT action "Create Jira" via Application link - for authenticated users

And the same form uses webservices method to create a Jira issue for non authenticated / anonymous users


Jira issue key is saved back to one of the form's fields


Here is the demo (creates the issue and stores the Jira key back)

Create JIRA issue with ConfiForms Webservice connection



Jira key

Created timestamp

Dec 05, 2019 09:36
JTEST-179 Dec 05, 2019 09:40
Dec 05, 2019 09:41
JTEST-182 Dec 05, 2019 10:28
JTEST-184 Dec 05, 2019 10:29
Dec 11, 2019 23:52
JTEST-186 Dec 19, 2019 17:15
JTEST-187 Dec 20, 2019 17:03
JTEST-188 Dec 27, 2019 03:40
JTEST-191 Jan 07, 2020 11:07
Jan 13, 2020 16:05
JTEST-198 Jan 29, 2020 19:55
JTEST-199 Feb 04, 2020 22:19
Feb 10, 2020 20:38
JTEST-205 Feb 13, 2020 03:42
Feb 19, 2020 09:28
Feb 20, 2020 12:12
JTEST-207 Feb 20, 2020 12:12
JTEST-212 Mar 07, 2020 22:25
JTEST-214 Mar 09, 2020 21:43
JTEST-215 Mar 12, 2020 04:14
JTEST-220 Mar 26, 2020 08:06
JTEST-222 Mar 26, 2020 11:01
Apr 16, 2020 11:48
JTEST-223 Apr 16, 2020 11:48
JTEST-243 May 21, 2020 13:34
JTEST-244 May 21, 2020 15:40
JTEST-245 May 21, 2020 15:41
JTEST-248 Jun 01, 2020 19:13
JTEST-249 Jun 02, 2020 21:02
Jun 09, 2020 23:25
JTEST-251 Jun 18, 2020 22:10
JTEST-252 Jun 26, 2020 12:32
JTEST-259 Jul 28, 2020 13:40

Source code

<p>Yes, you can create Jira issue with WebService IFTTT action (usual IFTTT to create Jira issues will not work for anonymous users as it does uses the Application link to connect to your Jira and that will not be available for anonymous users, while web service connection is available to anyone, unless you tell otherwise (setting up connection restrictions))</p>
<p>Here is the demo (creates the issue and stores the Jira key back)</p>
<ac:structured-macro ac:macro-id="634f4a34-b8ba-464d-b222-e123d65cc4e0" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">ji2</ac:parameter>
  <ac:parameter ac:name="showOnlyOwnRecords">true</ac:parameter>
  <ac:parameter ac:name="registrationFormTitle">Create JIRA issue with ConfiForms Webservice connection</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="dd25632e-211e-4820-8754-836d4ade9236" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="overrideSaveButtonLabel">Create</ac:parameter>
      <ac:parameter ac:name="registrationButtonLabel">Register me</ac:parameter>
      <ac:parameter ac:name="embedded">true</ac:parameter>
      <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="8a572845-1d28-4560-a4d8-f8102317e419" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">summary</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Summary</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="2e5a8660-272b-43f6-801d-a3131c3665c5" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">desc1</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Description</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="7d641f3b-1fd7-4e47-a63e-a2b040782730" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">desc2</ac:parameter>
        <ac:parameter ac:name="fieldLabel">More details:</ac:parameter>
        <ac:parameter ac:name="type">textarea</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="7c8f347e-7704-441f-92f2-990cac31a7d5" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="css">width:100px;</ac:parameter>
        <ac:parameter ac:name="fieldName">jk</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Jira key</ac:parameter>
        <ac:parameter ac:name="type">read_only</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="a06f0ccf-0e36-4d07-b47d-cb38a345c0fe" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">id:[empty]</ac:parameter>
        <ac:parameter ac:name="fieldName">jk</ac:parameter>
        <ac:parameter ac:name="action">Hide field</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <br/>
    </p>
    <p>-- anonymous user</p>
    <ac:structured-macro ac:macro-id="fddb4549-4103-4cd4-8d60-5e0b7a72b87e" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="condition">_user:[empty]</ac:parameter>
      <ac:parameter ac:name="action">WebService Request</ac:parameter>
      <ac:parameter ac:name="extras">4bb4c41a51f289a07507d50a1b841a4d</ac:parameter>
      <ac:parameter ac:name="event">onCreated</ac:parameter>
      <ac:parameter ac:name="title">/rest/api/2/issue/</ac:parameter>
      <ac:parameter ac:name="extras2">X-Atlassian-Token: no-check;Content-Type: application/json;</ac:parameter>
      <ac:parameter ac:name="who">POST</ac:parameter>
      <ac:rich-text-body>
        <ac:structured-macro ac:macro-id="46d25e82-d4db-4e38-9b96-f5c6159c473f" ac:name="noformat" ac:schema-version="1">
          <ac:plain-text-body><![CDATA[{
    "fields": {
       "project":
       { 
          "key": "JTEST"
       },
       "summary": "[entry.summary.escapeJSON]",
       "assignee":{"name":"admin"},
       "description": "[entry.desc1.escapeJSON] \n [entry.desc2.escapeJSON]",
       "issuetype": {
          "name": "Bug"
       }
   }
}]]></ac:plain-text-body>
        </ac:structured-macro>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <br/>
    </p>
    <p>
      <br/>
    </p>
    <ac:structured-macro ac:macro-id="272e3b89-8d15-4900-8d19-eff6842cb291" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="condition">_user:[empty]</ac:parameter>
      <ac:parameter ac:name="extras4">true</ac:parameter>
      <ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
      <ac:parameter ac:name="event">onCreated</ac:parameter>
      <ac:parameter ac:name="title">entryId=[entry.id]&amp;jk=${iftttResult_0}</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <ac:structured-macro ac:macro-id="06d97bf0-5caa-486a-aebf-c21400c7b035" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="condition">_user:[empty]</ac:parameter>
      <ac:parameter ac:name="extras4">true</ac:parameter>
      <ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
      <ac:parameter ac:name="event">onCreated</ac:parameter>
      <ac:parameter ac:name="title">entryId=[entry.id]&amp;jk=[entry.jk.asJSON.key]</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>--- auth user</p>
    <ac:structured-macro ac:macro-id="89c6d30f-2ea9-4b51-94aa-44513b7c6898" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="condition">!_user:[empty]</ac:parameter>
      <ac:parameter ac:name="action">Create JIRA Issue</ac:parameter>
      <ac:parameter ac:name="extras">vertuna-test</ac:parameter>
      <ac:parameter ac:name="event">onCreated</ac:parameter>
      <ac:rich-text-body>
        <ac:structured-macro ac:macro-id="619a18ae-afe0-45cd-9b54-0041241fcc25" ac:name="noformat" ac:schema-version="1">
          <ac:plain-text-body><![CDATA[{
    "fields": {
       "project":
       { 
          "key": "JTEST"
       },
       "summary": "[entry.summary.escapeJSON]",
       "assignee":{"name":"admin"},
       "description": "[entry.desc1.escapeJSON] \n [entry.desc2.escapeJSON]",
       "issuetype": {
          "name": "Bug"
       }
   }
}]]></ac:plain-text-body>
        </ac:structured-macro>
      </ac:rich-text-body>
    </ac:structured-macro>
    <ac:structured-macro ac:macro-id="bce49113-5f2f-4815-b0de-a302f16e5171" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="condition">!_user:[empty]</ac:parameter>
      <ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
      <ac:parameter ac:name="event">onCreated</ac:parameter>
      <ac:parameter ac:name="title">entryId=[entry.id]&amp;jk=${iftttResult_0}</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
  </ac:rich-text-body>
</ac:structured-macro>
<p>
  <br/>
</p>
<p>
  <br/>
</p>
<ac:structured-macro ac:macro-id="d309c641-56ef-46cb-b01f-19590d41605e" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">ji2</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="8a053643-3b4b-40a8-93b4-89a2acbf0d20" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">jk</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="18b7e9fe-30c3-4a04-886e-6a47446af441" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">created</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>