Export WorkItem to HTML

2»

Comments

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
    edited April 24
    Are you specifying the SCSM server in the remote computer field? Are you putting a valid workitem Id in the field?  Does it match the Work Item Type in the drop down?  You might also just need to reboot after installing SMLets...
  • Tina_SamsTina_Sams Customer IT Monkey ✭
    Yes, yes and yes :smile:   I'll give the reboot a try.  Thank you  :)
  • Jeff_LandersJeff_Landers Customer IT Monkey ✭

    @Justin_Workman

    Justin, We would like to use your code to create a service offering that will feed the required parameters to your script so we are looking for your code without the display aspect. The reason for this is that our analysts will not have the required smlets and service manager access that is required to run your script elsewhere.

    So, for instance, we would have a service offering where the inputs would be type of ticket and ticket number. There would be no choice for which parameters. They would get them all.

    We hesitate to allow a date range as a service offering since someone could try to export all tickets or something similar. We will handle that as a manual task.

    Bottom line, do you have some early stripped down versions that we could have that might allow us to use them in a Run Powershell activity and then email the html output to a user?

    If not, I will start dismantling v4 and see how it goes.

    Thank you for your consideration.

    Jeff Landers

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭

    @Jeff_Landers - Here is a script that just has the Export-WorkItem function(and the underlying functions it calls) with no UI. There's a usage example at the bottom. It should get you going. Let me know if you have any more questions!

Sign In or Register to comment.