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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

/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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you