Reindex and update base URL via API

Hi All

I would like to perform these tasks programmatically using the API or with SQL scripts. Is it possible to -

1. Trigger a re-index on JIRA 7.X

2. Update Base URL 

3. Disable outgoing mail server

4. Delete application links

 

Why  i need to do this?

Because i am writing a script which would automatically refresh our test jira instance with the production jira instance. 

 

1 answer

This widget could not be displayed.
Tarun Sapra Community Champion Jan 22, 2018

Reindex via API

https://confluence.atlassian.com/jirakb/how-to-trigger-re-indexing-using-rest-request-via-curl-command-663617587.html

 

Base url update -

curl -i -u admin:admin -X PUT --data "https://newserver/jira" -H "Content-Type: application/json" https://server/jira/rest/api/2/settings/baseUrl

Set base u r lPUT /rest/api/2/settings/baseUrl

Tarun Sapra Community Champion Jan 22, 2018

For the mail sevrer access via API here's an duplicate question - https://community.atlassian.com/t5/Answers-Developer-Questions/jira-mail-server-api/qaq-p/480191

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

69 views 0 1
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