Support Table Grid Next Generation for Jira Cloud

Similar to what's available on Server/DC.

Have more questions? Submit a request

4 Comments

  • 0
    Avatar
    Alan Kelly

    This is something we would very much like to see. It's important for us to be able to print out the contents of the tables contained in Tabel Grid Next Generation, from within our JIRA ticket

  • 1
    Avatar
    Thomas Austin Hefty

    We are getting rid of table grid until PDF exporter can successfully export the table into a PDF. We would use this table to enter tested values such as voltages or pressures instead of recording them in the comments which can get lost easily if there are many conversations.

    We highly recommend to support this as it is on the server edition.

  • 0
    Avatar
    Darryl Lee

    Like Alan and Thomas, we would really like to get Table Grids *out* of JIRA somehow.

    META-INF, the makers of "Email This Issue" have said that they don't see that they will support this in the near future. So this is a perfect market opportunity for Midori.

    Thank you!

  • 0
    Avatar
    Thomas Austin Hefty

    I try adding the below code into the cloud hoping one day we will be able to extract this info into a PDF.
    Has there been any update regarding this?

     

    ## Table Grid Editor
    #set ($customfieldId = "GRID")
    #set ($customfield = $customFieldManager.getCustomFieldObjectByName($customfieldId))
    #set ($moduleDescriptor = $customfield.getCustomFieldType().getDescriptor())
    #set ($fieldLayoutItem = ${fieldLayout.getFieldLayoutItem($customfield.id)})
    #set ($htmlMarkup = $moduleDescriptor.getViewHtml($customfield, "htmlMarkup", $issue, $fieldLayoutItem))
    #set ($htmlMarkup = $htmlMarkup.trim())

    ## remove all <div ...> tags
    #foreach($j in [1..10])
    #set($s = $stringutils.indexOf($htmlMarkup, "<div"))
    #if($s != -1)
    #set($e = $stringutils.indexOf($htmlMarkup, ">", $s))
    #if($e != -1)
    #set($e = $e + 1)
    #set($htmlMarkup = $stringutils.remove($htmlMarkup, $stringutils.substring($htmlMarkup, $s, $e)))
    #end
    #end
    #end
    ## remove all </div> tags
    #set($htmlMarkup = $stringutils.remove($htmlMarkup, "</div>"))

    ## remove table tag without valid rows (NB: this is a bug in Table Grid)
    #set($e = $stringutils.indexOf($htmlMarkup, '_grid"></table>'))
    #if($e != -1)
    #set($s = $stringutils.lastIndexOf($stringutils.substring($htmlMarkup, 0, $e), "<table"))
    #if($s != -1)
    #set($e = $e + 15)
    #set($htmlMarkup = $stringutils.remove($htmlMarkup, $stringutils.substring($htmlMarkup, $s, $e)))
    #end
    #end

    <fo:block color="green">
    $pdfRenderer.htmlToFo($htmlMarkup)
    </fo:block>

Please sign in to leave a comment.