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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Best practice to call external (local) scripts from JIRA events like status changes Edited

First I would like to say thanks up front and ahead of this. (Quick background) We were using Spiceworks as our help desk and Inventory system prior to switching to JIRA. I am completely new to JIRA at the moment so doing much reading. I use to attach certain processes inside SpiceWorks to some Google bots and API's i made to handle some help desk automation task. 

My question is, what is now the best add-on or route to start researching for tasks such as if a help desk technician, sets a issue into a certain status (lets say disable (ERPNAME) user account, I would like then to have a BAT or script called that will run our stored procedures to handle this task in our ERP local SQL server. 

1. Can i do this all within JIRA itsef or do I need a add-on

2. Is there a general example of using a trigger to call a local custom BAT (c#, python,perl, etc) script to handle a task outside of JIRA?

 

Is this beyond what the purpose and case usage of JIRA's scripting capabilities? Currently I have obtained the ScriptRunner add on and have been reading on it. Any guidance or directional help would be greatly appreciated.

1 answer

0 votes

Hey there Casey,

sets a issue into a certain status (lets say disable (ERPNAME) user account, I would like then to have a BAT or script called that will run our stored procedures to handle this task in our ERP local SQL server. 

What deployment are you on / thinking about using?

If you're running on Cloud there's no access to any local file system that you can store / run a batch script. The only possibilities here to expose that batch screen over the internet and make it accessible with some sort of secret token, but they're still security questions there no doubt

If you're on server you might be able to use the ScriptRunner add-on to run local files, but you'll need to contact one of the Adaptavist folks to check that out

Cheers,

Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

209 views 1 6
Read article

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