Get a list of field attributes for specific screens.

I would like to get a list of the attributes for the fields in my JIRA project and issue fields so that I can define mapping for integration from JIRA into and out-of an external data source. Does anyone know how to get that information?

2 answers

1 accepted

I found an Atlassian site that provided high-level information to meet my needs for now. The following link accesses Atlassian "database" information without requiring programming. It also provides SQL queries to get the info if you have access to the JIRA database. I hope it is helpful to other non-programmers out there!

What do you mean by "the attributes for the fields"? If you want to find issue fields you need to check the create, edit and view screens and also screens which are used in workflows for your project. It is a good practice (at least for me) to add a prefix with the project key to all screens which are used in the project.

Hi Alexey, Thanks for responding. I'm sorry my question wasn't clear. I am trying to find a way to get a list of the fields in my issue screen. I want the list to also include information about the attributes of the fields such as data type, field length, requires or not required, default value, valid field values (for picklist fields), etc. Are you aware of any way to get this type of list in JIRA? Thank you for your insights!

Pauletta

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

Do you want to get this info automatically? If yes then you would need to write a program using Jira Java Api. For example this program in groovy would iterate over all screens and get info about all custom fields.

I am sorry, Alexey; I'm not a programmer. I don't even know where I would go to enter the code you listed above. I was hoping to find-out that JIRA provides a user-friendly utility that I could use to generate a schema list for my Issues screens. Based on your response and my research, it seems that a field schema list generator utility does not exist in JIRA.

I'm sorry to ask a very basic question but will you please tell me where I should enter the code you've provided above?

Also, I actually need a field schema list for all fields (standard and custom) in my Issues screen. Will you modify the query to give me a list of all fields in my Issues screen and attributes information about each fields (such as data type, field length, requires or not required, default value, valid field values (for picklist fields), etc).

Thank you for your patience with a non-programmer who is assigned to do programming tasks at work!

Pauletta

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

Thanks again for taking the time to respond to my question, Alexey. You've inspired me to expand my knowledge of Jira GUI which will help me a lot going forward. Your generosity with your knowledge is admirable. Please continue to help me and others. You are one of only a few who will take the time to do it! You are appreciated.

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.