Hi, I am totally new to JIRA so please parden me for basic questions and add detailed answers if yu could. We have JIRA (v4.3.4#620-r152668) in production. I am tasked to build a custom plugin/module to make some changes. I wanted to setup my local JIRA instance with exact same version so that I can make changes locally first. I am struglling in setting up the same instance.
Steps I followed:
1) I downloaded & installed atlassian-plugin-sdk-3.8 in local box.
2) I have created Plugin skeleton for eclipse and my pom.xml has this entry.
<properties>
<jira.version>4.4.1</jira.version>
<jira.data.version>4.4</jira.data.version>
<amps.version>3.8</amps.version>
</properties>
JIRA starts with the above config successfully but our JIRA version in production is :(v4.3.4#620-r152668) so I went ahead and changed the pom.xml file as below.
<properties>
<jira.version>4.3.4</jira.version>
<jira.data.version>4.3.4</jira.data.version>
<amps.version>3.8</amps.version>
</properties>
When I execute (atlas-run) to start the local JIRA instance, it does not start due to mismatch in config ( I changed jira version from 4.4.1 to 4.3.4)
Questions:
1) Can I start module development using 4.4.1 jira version even though I have 4.3.4 in production? Will my plugin work in my production environment?
2) If answer to question number is NO then how should I go about having the right jira version locally?
3) The change I am tasked with is to add a new column (Due Date) while displaying the issue list. What type of module should I pick to develop? Any links to similar development questions/activities?
---------------------------------------------------------------------------------------------------------------
Here is the error message when JIRA fails to start due to version mismatch:
---------------------------------------------------------------------------------------------------------------
The data present in your database is newer than the version of JIRA you are trying to startup.
Database version is: 646
JIRA app version is: 620
Please use the correct version of JIRA. You are running: 4.3.4#620-r152668
---------------------------------------------------------------------------------------------------------------
Community moderators have prevented the ability to post new answers.
Can I start module development using 4.4.1 jira version even though I have 4.3.4 in production?
Better not to. Your plugin might work but it will not if the module you develop uses APIs that changed over the versions!
how should I go about having the right jira version locally?
Try
<properties> <jira.version>4.3.4</jira.version> <jira.data.version>4.3</jira.data.version> <amps.version>3.8</amps.version> </properties>
The change I am tasked with is to add a new column (Due Date) while displaying the issue list
Adding columns to issue navigator is a standard JIRA functionality. Are you asking for that?
Jobin & Jamie, thanks for the solution. I wasn't blowing the Target directory erlier and wasn't executing atlas-mvn eclipse:eclipse after making changes into pom file. These suggestions solved my issue.
Also, I couldn't draft my due date question properly earlier . I want to know how do I display DUE DATE, START DATE columns for the sub tasks list within a primary issue. (I know we have Due Date within main list of primary issues but I am looking to display list of sub tasks). Can admin do this? If yes, how. If not, what kind of module I am supposed to create? Please suggest.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can configure jira.table.cols.subtasks within Admin section (General Configuration|Advanced) in JIRA 4.4 or in jira-application.properties for JIRA versions before 4.4 (I think).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Henning. I got due date column appearing in the table.
Does anybody know how do I add column headers and make them sortable?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> The data present in your database is newer than the version of JIRA you are trying to startup
Also, blow away the target directory before running again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.