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

How can I set Voting Per Project to initially be OFF

Michael Robinson Jul 20, 2016

Hello,

I'm the admin for a JIRA instance with hundreds of projects.

I'm looking to use your Voting Per Project plugin and have tested it in a test instance.

I'm looking to add this plugin to my production instance to support voting in only 2 of my hundreds of projects right now.

I was hoping to find this plugin storing the enabled/disabled status for projects somewhere in JIRA database so that i could after installing the plugin on a maintenance outage run a simple update sql to set all of my projects to Disabled and only manually enable the 2 projects that need it.

Is there a way to avoid it being ON by default and having to manually turn it off for hundreds of projects?

Thanks,

Michael

1 answer

0 votes
Andrzej Warycha Aug 01, 2016

Hi Michael,

Update SQL is not possible because there is no records in the database at the beginning.

The easiest way to change status of each setting is via js command from the web browser console.

Steps:

  1. Go to the plugin configuration page 
    $YourBaseURL/secure/admin/plugins/votingperproject-jira-plugin/ConfigureVotingPerProjectPlugin!default.jspa 
  2. Open Developer Tools (Opera Chrome - Ctrl+Shift+I) and go to console tab
    Firefox  - F12
  3. Type AJS.$(".voting-status-button").click();
  4. After few moments all settings will change their status to opposite. In my environment (about 200 projects) it takes about 6 seconds.

Some time ago I created ticket issues5 Introduce additional global configuration - default setting for new projects

Feel free to comment or vote this issue.

 

Cheers,

Andrzej

 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar invitation: Generate custom Jira Cloud PDF reports and exports

Jira may be a staple part of your workday, but your colleagues, customers, business partners or an auditor might need information presented in a different format, that is easy to access and read. And...

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