Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,864
Community Members
 
Community Events
168
Community Groups

/tmpJiraInactiveUserEmail.csvtemp (Permission denied)

Edited

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

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