2

I have a script that reads from a google sheet and uses the information to create tickets using the Jira python api. In my situation it won't work to have the script be triggered at a certain time, the script has to be triggered through the sheet. Is there some way to detect a button press or a cell change which runs my local python file?

3
  • 1
    May we see what did you do so far? Commented May 13, 2019 at 7:13
  • I would suggest VBA to program a macro that can call the python script on shell. Commented May 13, 2019 at 7:16
  • Possible duplicate of How to call python script on excel vba? Commented May 13, 2019 at 7:16

1 Answer 1

1

I had a similar problem. there is a tool set call 'gspread', which can read from python data from your Google sheets. What I did is a script in the spread sheet, what filled a cell with "Start + time". You can trigger script with this with a button.

Now the python program read this cell every minute. If the cell contains the start trigger, if fires the python script.

Not the nicest solution, but it works for a few years now.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.