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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,560,622
Community Members
 
Community Events
185
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

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.
Nov 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