Can i execute a Script using Automation for JIRA?

Sunil Kumar August 9, 2022

Can i execute a script using automation for JIRA at a certain time or Cron.

 

Regards,

Sunil

2 answers

1 accepted

1 vote
Answer accepted
Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 10, 2022

Hi @Sunil Kumar 

Welcome to the community.

There is "Run a script" function in automation which may help you.

Ekran Resmi 2022-08-10 15.20.09.png

Sunil Kumar August 10, 2022

Hi Akdeniz,

 

I saw the option but getting an error no plugin available and shows deprecated for us.

Any idea why?

 

Regards,

Sunil

Sarah Kladstrup September 1, 2022

I have seen the ScriptRunner option not load after updating both plugins. Atlassian's official suggest to me was to disable and re-enable ScriptRunner and that does seem to work.

Sunil Kumar September 1, 2022

Hi Sarah,

 

The option seems to be working as expected now. Thank you for the solution.

 

Regards,

Sunil

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 9, 2022

Hi @Sunil Kumar 

Welcome to the community

It's a no code automation feature 

May I know what feature you looking to achieve, may be we can look if it achieved through available trigger, condition, and actions

Thanks

Sunil Kumar August 10, 2022

Hi Pramodh,

 

Thank you for the wishes,

 

I am trying to execute a script every 15mins in JIRA. Is that possible without using jobs functionality in script runner as there is bug.

 

Regards,

Sunil

Sarah Kladstrup August 10, 2022

Yes! There's a "Scheduled" trigger option, and you can click on a link that says, "use cron expression" and it will display as follows:

image.png

Sunil Kumar August 11, 2022

Hi Sarah,

 

But I want to add a script after the scheduling option which is deprecated right now.

 

Regards,

Sunil

Suggest an answer

Log in or Sign up to answer