Page tree

Versions Compared

Key

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

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))

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

ConfiForms Form Definition
formNameji
showOnlyOwnRecordstrue
registrationFormTitleCreate JIRA issue with ConfiForms Webservice connection
CreateRegister metrueINLINE


summarySummarytext

desc1Descriptiontext

desc2More details:textarea

width:100px;jkJira keyread_only

id:[empty]jkHide field

fififile

WebService Request4bb4c41a51f289a07507d50a1b841a4donCreated/rest/api/2/issue/X-Atlassian-Token: no-check;POST



trueCreate ConfiForms EntryonCreatedentryId=[entry.id]&jk=${iftttResult_0}


WebService Request4bb4c41a51f289a07507d50a1b841a4donCreated/rest/api/latest/issue/[entry.jk.asJSON.key]/attachmentsfileX-Atlassian-Token: no-check;POST

fi


WebService Request4bb4c41a51f289a07507d50a1b841a4donCreated/rest/api/latest/issue/[entry.jk.asJSON.key]/remotelinkfileX-Atlassian-Token: no-check;POST
ConfiForms TableView
formNameji

jk.asJSON.key

created


Create Jira issue with webservice connection with files and remote links - storage format

note that you need to configure webservice connection to something like this


The table is created like this

Code Block
<ac:structured-macro ac:macro-id="d309c641-56ef-46cb-b01f-19590d41605e" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">ji</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="bb4766d6-cbfe-40c6-ace4-f3dcd21dcc99" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">jk.asJSON.key</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>

Using asJSON function as a bridge (Virtual functions) and accessing the issue key (key property)

Code Block
jk.asJSON.key

Children Display