Versions Compared

Key

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

...

ConfiForms TableView
formNamef

issueKey

summary


Storage format

Code Block
<ac:structured-macro ac:macro-id="b5a16e98-b549-4189-bb3e-a22a2114fe51" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:parameter ac:name="debugMode">true</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="b1fe73cc-3296-494e-9fb4-de378ba221e9" ac:name="confiform-entry-register" ac:schema-version="1">
      <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="0327858f-066f-492f-8402-ad56f2c0a7d4" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">issueKey</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Issue key</ac:parameter>
        <ac:parameter ac:name="fieldDescription">Type issue key so we will do a lookup with IFTTT</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="009bfdce-a575-4a3a-bea0-33a9bfa7d541" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">summary</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Issue summary</ac:parameter>
        <ac:parameter ac:name="type">read_only</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="472c6f53-fc47-40c0-9384-e6bbbe660ceb" ac:name="confiform-ifttt" ac:schema-version="1">
      <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/latest/issue/[entry.issueKey]</ac:parameter>
      <ac:parameter ac:name="resultName">JIRA</ac:parameter>
      <ac:parameter ac:name="who">GET</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <ac:structured-macro ac:macro-id="a1cab2c8-71f8-4ea6-a60e-631851a7839c" ac:name="confiform-ifttt" ac:schema-version="1">
      <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;summary=${iftttResult_JIRA}</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <ac:structured-macro ac:macro-id="921068bd-5a52-4dea-b283-23a83d03d882" ac:name="confiform-ifttt" ac:schema-version="1">
      <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;summary=[entry.summary.asJSON.fields.summary]</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>Issue keys and summaries (set with IFTTT macro when record is created)</p>
<ac:structured-macro ac:macro-id="05fc572a-8dd2-4c6e-86c6-09c4da4edf38" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">f</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="646d4ad0-7a93-4a94-9d02-084be7d47acb" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">issueKey</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="d5f33bd9-f6c6-4b21-8c59-ba2121174b01" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">summary</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>