Can I "runFromSQL" with the Jira CLI on OnDemand?

I have a number of jobs that I'm running where I simply pull out the issue key go from there. But there's so much more the CLI is pulling in that I don't need.

Then I saw the option to runFromSQL. But I'm not sure of that working with OnDemand?

Will it?

I need a server name or something, don't I?

I'm assuming that the tables are similar to what I would find on a locally installed instance? Or is there a different schema design for OnDemand?

This was be a great benefit because I can run the SQL much faster if I don't need all the comments, descriptions and worklog options that the CLI pulls in.

1 answer

No, since you don't have access to the JIRA database with OnDemand. You will need to use other run actions like runFromIssueList and runFromCsv. Other options would be to do some scripting around other actions that produce lists.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

344 views 1 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you