Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-1871

Workflow Post Function - No Approvals

    XporterXMLWordPrintable

Details

    • R6.3.0 Sprint 4, R6.3.0 Sprint 5
    • OK

    Description

      Hi,

      i want to attach a file after i changed the status. 

      Within this file (PDF) i want to display the approvals and this works when i use the normal export way. 

      But when i want to create and attach the file within a workflow, the approvals section is empty.

      Could you help me to fix this issue ?

       

      BR,

      Christian

       

      This is the docx.

      #{for approvals}
      
      Entscheidung
      
      #{if (%{'${Approvals[n].Final Decision}'.equals('approved')})}
      
      Genehmigt
      
      #{end}
      
      #{if (%{'${Approvals[n].Final Decision}'.equals('rejected')})}
      
      Abgelehnt
      
      #{end}
      
      Datum Anfrage
      
      ${dateformat("dd.MM.yyyy HH:mm:ss"):Approvals[n].Created Date}
      
      Datum Entscheidung
      
      ${dateformat("dd.MM.yyyy HH:mm:ss"):Approvals[n].Completed Date}
      
          #{for m=Approvals[n].UsersApprovalsCount}
      
      Entscheider
      
      ${Approvals[n].UsersApprovals[m].Approver Name}
      
      Entscheidung
      
      #{if (%{'${Approvals[n].Final Decision}'.equals('approved')})}
      
      Genehmigt
      
      #{end}
      
      #{if (%{'${Approvals[n].Final Decision}'.equals('rejected')})}
      
      Abgelehnt
      
      #{end}
      
          #{end}
      
      #{end}
      

      ITS-11880_Genehmigung is the attached file from the workflow post function and ITS-11880 is the normal export.

      Attachments

        1. Post-Function.jpg
          Post-Function.jpg
          104 kB
        2. ITS-11880.pdf
          40 kB
        3. ITS-11880_Genehmigung.pdf
          37 kB

        Activity

          People

            tfsi Tiago Silva [X] (Inactive)
            krisss Christian jokisch
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 4 days, 6 hours, 50 minutes
                1w 4d 6h 50m