tge how-to-add-quotes-and-offers-to-jira-issues

31
How-to Guide Quotes and Offers in JIRA using the Table Grid Edior

Upload: francis-martens

Post on 27-Jun-2015

5.627 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Tge how-to-add-quotes-and-offers-to-jira-issues

How-to Guide Quotes and Offers in JIRAusing the Table Grid Edior

Page 2: Tge how-to-add-quotes-and-offers-to-jira-issues

The Result Customer quotes attached to JIRA issues

Page 3: Tge how-to-add-quotes-and-offers-to-jira-issues

Features covered

Page 4: Tge how-to-add-quotes-and-offers-to-jira-issues

FOLLOW THESE STEPS TO ADD THIS TABLE GRID TO YOUR JIRA ISSUES

Page 5: Tge how-to-add-quotes-and-offers-to-jira-issues

In JIRA AdministratorAdd a custom field

Page 6: Tge how-to-add-quotes-and-offers-to-jira-issues

Select Table Grid Editor and click next

Page 7: Tge how-to-add-quotes-and-offers-to-jira-issues

Give a name and description to the Table Grid Editor. For example, if you are going to use the Table Grid Editor to store offers made to the customer, you can call it Quotes.

Page 8: Tge how-to-add-quotes-and-offers-to-jira-issues

Select the screen(s) on which you want to include the Quotes.

Page 9: Tge how-to-add-quotes-and-offers-to-jira-issues

Go to the relevant screen and you will find your Table Grid Editor

Page 10: Tge how-to-add-quotes-and-offers-to-jira-issues

Now we will configure the Table Grid

Page 11: Tge how-to-add-quotes-and-offers-to-jira-issues

Within JIRA Administratora) Goto Custom Fieldsb) Hit configure

Page 12: Tge how-to-add-quotes-and-offers-to-jira-issues

Click Edit Default Value

Page 13: Tge how-to-add-quotes-and-offers-to-jira-issues

Let’s configure The Table Grid Editor for Quotes

Page 14: Tge how-to-add-quotes-and-offers-to-jira-issues

Download the configuration filesused in this example

Continue this presentation for the Explanation of the configuration file

Download

Page 15: Tge how-to-add-quotes-and-offers-to-jira-issues

gd.tablename=quotesgd.ds=jiragd.visiblerows = autogd.delete.confirmation = true

Name of the table in databaseWhere the table content is stored (datasource)

1. Basic Table Grid configuration and where to store its contents

How many rows are visible in one page; auto= table grid decides

Ask for confirmation before deleting a set of rows

Page 16: Tge how-to-add-quotes-and-offers-to-jira-issues

gd.columns = nr, prodtype, descr, quant, unitprice, total

Column Identifiers

2. Define the column specifications

Page 17: Tge how-to-add-quotes-and-offers-to-jira-issues

gd.columns = nr, prodtype, descr, quant, unitprice, total

3. Let’s define the first column : Nr

col.nr=Nrcol.nr.type=integercol.nr.required=truecol.nr.width=50

Column header nameColumn TypeCheck next page for available types

The field must be filled in, if forgotten tell the user

Width of column expressed in pixels

Page 18: Tge how-to-add-quotes-and-offers-to-jira-issues

Supported Column Types

list

date

col.name.type = ( checkbox | date | integer | list | number | radio | sequence | string | textarea )

radio

textarea

Some Examples:

String

Page 19: Tge how-to-add-quotes-and-offers-to-jira-issues

gd.columns = nr, prodtype, descr, quant, unitprice, total

4. Let’s define the second column : Prodtype

col.prodtype=Product Codecol.prodtype.type=listcol.prodtype.width=150

Column header name Column type, “list” = elements in a dropdown box

Width of column expressed in pixels

Page 20: Tge how-to-add-quotes-and-offers-to-jira-issues

WHAT ABOUT THE ELEMENTS OF THE DROPDOWN BOX?

Page 21: Tge how-to-add-quotes-and-offers-to-jira-issues

OPTION 1: LIST THEM IN THE CONFIGURATION FILE

Page 22: Tge how-to-add-quotes-and-offers-to-jira-issues

gd.columns = nr, prodtype, descr, quant, unitprice, total

4.1. Dropdown box – option 1: list them in the (same) configuration file

col.prodtype.list.size=3col.prodtype.value1=Consultancycol.prodtype.value2=Maintenancecol.prodtype.value3=License

col.prodtype=Product Codecol.prodtype.type=listcol.prodtype.width=150

How many elements are in the dropdown list

Specify the values from which the user canchoose in the dropdown list

Page 23: Tge how-to-add-quotes-and-offers-to-jira-issues

OPTION 2: LOAD THEM FROM AN EXTERNAL SQL DATABASE

Page 24: Tge how-to-add-quotes-and-offers-to-jira-issues

gd.columns = nr, prodtype, descr, quant, unitprice, total

4.2. Dropdown box – option 2: load them from anexternal SQL database

col.prodtype.query=SELECT name, id FROM products WHERE status='A'col.prodtype.ds=erp

col.prodtype=Product Codecol.prodtype.type=listcol.prodtype.width=150

SQL Query to populate the elementsin the list from an external database.

Name of the data source to be used where the SQL query needs to be executed.Next pages shows how to set-up a secure datasource

Page 25: Tge how-to-add-quotes-and-offers-to-jira-issues

Securely Specify the datasource “erp” as a SQL Data Source

Page 26: Tge how-to-add-quotes-and-offers-to-jira-issues

Securely Specify the datasource “erp” as a SQL Data Source

Ask your database administrator for right connection information

Page 27: Tge how-to-add-quotes-and-offers-to-jira-issues

gd.columns = nr, prodtype, descr, quant, unitprice, total

5. Let’s define the third column : Description

col.descr=Descriptioncol.descr.type = stringcol.descr.width=180 col.descr.maxLength=40

Column header nameColumn type: plain text

Width of column expressed in pixels Maximum input of 40

characters

Page 28: Tge how-to-add-quotes-and-offers-to-jira-issues

gd.columns = nr, prodtype, descr, quant, unitprice, total

6. Let’s define the Qty and Unit Price column

col.quant=Qtycol.quant.type=numbercol.quant.sortable=truecol.quant.required=true

col.unitprice=Unit Pricecol.unitprice.type=numbercol.unitprice.required=true

Column header nameColumn type: number

Cell must be filled in

Column header nameColumn type: number

Allows to sort by this column by clicking the column header

Cell must be filled in

Page 29: Tge how-to-add-quotes-and-offers-to-jira-issues

gd.columns = nr, prodtype, descr, quant, unitprice, total

7. Let’s define the Total column with a formula

col.total=Totalcol.total.type=numbercol.total.editable=falsecol.total.sortable=truecol.total.formula = {quant} * {unitprice}col.total.summary=sum

Prevent the field to be editable by the user

Put the column identifiers between { } and use arithmetic notation. For all possibilities with formulas, have a look at the Formula Manual

Page 30: Tge how-to-add-quotes-and-offers-to-jira-issues

gd.columns = nr, prodtype, descr, quant, unitprice, total

7. Let’s define the Total column … and add a summary

col.total=Totalcol.total.type=numbercol.total.editable=falsecol.total.sortable=truecol.total.formula = {quant} * {unitprice}col.total.summary=sum

Add a bottom row with the sum of all values in the total column