GithubHelp home page GithubHelp logo

atlassian-scripts's Introduction

Atlassian-Scripts

This is a repository of my scripts for Atlassian. I thought it might be best to host them somewhere easy to fork as I might not be able to maintain them forever.

Jira scripts: Reindex.pl was tested with versions 5.2.4 and 6.0.7. Should work with versions older than that, possible all the way back to 3.5.

Reindex.sh has been tested with version 6.1+ and should work with no extra packages on most linux distributions. Uses Bash and curl.

Confluence scripts: Space_export.pl - use xmlrpc to trigger space export and download resulting .zip file.

atlassian-scripts's People

Contributors

jasonhensler avatar meganerd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

atlassian-scripts's Issues

the progress fails in error

Hello,

I tried to execute this script from a jenkins job, when it hit 55% progress the the script returned a login error.

However when I check in Jira, I can see that the indexing is still progressing.

Is that something you have encountered before ? any ideas how can I fix this ?

016-05-17_20:30:01 - Re-Indexing is at 55%
2016-05-17_20:32:44 - Error: login unsuccessful!
2016-05-17_20:32:44 - Error retrieving progress!
2016-05-17_20:32:44 - ------------------- Http raw response ---------------------------
2016-05-17_20:32:44 - HTTP/1.1 303 See Other
Server: Apache-Coyote/1.1
X-AREQUESTID: 1232x119173x1
X-ASESSIONID: c74v4f
X-Seraph-LoginReason: AUTHENTICATED_FAILED
X-AUSERNAME: jirauser
Location: https://jiraserver/jira/rest/api/2/reindex/
Retry-After: 1
Cache-Control: no-cache, no-store, no-transform
X-Content-Type-Options: nosniff
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Date: Tue, 17 May 2016 18:32:44 GMT

{"progressUrl":"/secure/admin/jira/IndexProgress.jspa?taskId=3","currentProgress":55,"type":"BACKGROUND","submittedTime":"2016-05-17T16:09:42.163+0200","startTime":"2016-05-17T16:09:42.167+0200","success":false}
2016-05-17_20:32:44 - ------------------- ---------------------------
Build step 'Execute shell' marked build as failure
Collecting metadata...
Metadata collection done.
Finished: FAILURE

Thank you

Regards,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.