I'm testing/evaluating the Bamboo / JIRA / GreenHopper combo. We have been testing Bamboo independently in production, so it contains records with pointers to JIRA Issues. But the JIRA production system does not -- and cannot right now -- get the Bamboo plugin.
I have a test instance of JIRA / GreenHopper. I can create a project with initials matching the ones Bamboo knows about. But the Issue numbers start at 1. To get a matching number I will have to pump in a thousand bogus JIRA Issues.
I was hoping there was a way to tell my new project to start with number 995, for example.
You can stop Jira, set the counter for the project and restart it. Uses SQL, and I really do mean it about stopping Jira, so that might not be suitable.
The other trick I use is exactly what you've suggested - import a CSV with the right number of lines, and then delete them all later. (Spreadsheets make it very easy to generate the CSV)
Hi, I want to assist the user by the next issue number (based on the current count of project issues), while he is creating an issue. this needs to create a custom filed or change the issue number field so that it sets the value based on the query result or project.issuecount +1; I greatly appreciate if you explain where and how I can write this query and test for a custom field. I am new to jira. based on the highest available issue number in the project I am trying to get the count of all issues of a project
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't. You cannot know what the number is going to be until the user clicks the "save" button. Simple scenario - the counter is at say 576. So you start creating an issue. Your logic would say "the number will be 577". You don't type as fast as I do, and I click create before you. I get 577, and you get 578. Also, I'd question the requirement - what actual use is the number to the user before they create the issue? Second, for "trying to get a count of all issues", the issue keys are of no use. The instant someone moves or deletes an issue from the project, the "highest issue key" is wrong. To find out how many issues there are in a project, you need to run a filter for "all issues in project" and look at the number it returns.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply. I just learnt how to check the answers (from a folder in my inbox)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
go to your JIRA DB and navigate to the project table and there is a field called "pcounter" . set this field value to what you need . as your example if you want to tell your project to start with 995 then set this filed value to 994.
then you will get what you needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Remember to STOP Jira before doing that, or you may find it does some odd things.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, that answer is exactly what I said already.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic you only mentioned is "You can stop Jira, set the counter for the project and restart it", when i see this i had no idea about the counter you mentioned in your answer.so thats why i put this answer.. thnks..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The easiest way is to set up a CSV file with 2 simple lines to have the issue start at a number you want.
Column A Row 1 = issue key Row 2 = your project key and the number you want (ABC-628)
Column B Row 1 = Summary Row 2 = Test (or something so you know it is not real)
Then follow these instructions
Map "Issue Key" to "Issue Key"
Map "Summary" to "Summary"
Then import the file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any solution available for Cloud versión? i don't have access to de DB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the data generator plugin in JIRA and pump in 994 issues. And later delete them.
https://marketplace.atlassian.com/plugins/com.atlassian.jira.plugins.jira-data-generator
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.