Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

/tmpJiraInactiveUserEmail.csvtemp (Permission denied)

upendar reddy November 23, 2020

Hi Team,

I am trying to export user details in jira/confluence/JSD who are not logged in from the past 45 days using script post function in the workflow transition 

Here i am attaching getting error details :

Time (on server): Wed Nov 18 2020 14:48:10 GMT+0530 (India Standard Time)

The following log information was produced by this execution. Use statements like:log.info("...") to record logging information.

2020-11-18 09:18:10,938 WARN [runner.ScriptBindingsManager]: false
2020-11-18 09:18:10,938 WARN [runner.ScriptBindingsManager]: false
2020-11-18 09:18:10,940 ERROR [workflow.AbstractScriptWorkflowFunction]: Workflow script has failed on issue TPFUR-16 for user '45124541'. View here: https://gfit-jiradc.gfitdevops.euw1.dev.aws.cloud.hsbc/secure/admin/workflows/ViewWorkflowTransition.jspa?workflowMode=live&workflowName=User+Recertification+Workflow&descriptorTab=postfunctions&workflowTransition=11&highlight=1
java.io.FileNotFoundException: /tmpJiraInactiveUserEmail.csvtemp (Permission denied)
	at Script1433.run(Script1433.groovy:62)

 

1 comment

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2020

Look closely at the error message and the name of the file it does not have access to.  You should see that the file location is not right - your script is working with a file in the wrong place (and because it's in the wrong place, it has no permission to use it)

You'll need to correct your script such that it works with a valid file in the right directory.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events