Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,828
Community Members
 
Community Events
176
Community Groups

Custom fields hierarchy

Hi Guys,

 

We have a custom filed that represent "Production Release Date" and I'm using JIRA Connector API to query that field in a form, I know the custom filed number (see attached )

screen.png

and my understanding that I can define a new custom filed with that number eg.Customfield_11430 in the output structure used to populate the required filed, but I need to know under which structure that custom filed is located so I can define it under the correct structure,?
so for example the current structure that exists in JIRA Connector is as attached below and the new Customefiled_11430 needs to fall under the correct hierarchy eg. under FixVesion or Resolution...etc so how can know where this filed should be ? if maybe there a fields definition page that exists in JIRA that shows where each field is located or defined?

screen2.png

 

Thanks

 

 

1 comment

Daniel Ebers Community Leader Mar 30, 2020

Hi Rochdi,

you can put custom fields to one or more screens.
This gives the fields a structure if you want so - but I am not sure if this is what you are actually looking for.

You can also specify field behavior. Please check if this helps for the beginning.


Cheers,
Daniel

Yeh, not really what I'm after, I'm already using custom fields in my screens, the current existing custom fields that came with JIRA connector, but I could like to add some more that we already defined in our Jira account website eg. Production Release Date (customfield_11430) QA Release Date (customfield_11428), so I need to define (add) them in JIRA Connector API because they don't exist yet,  so I can use them and query them in my own application. 

As you my know JIRA Connector API has an action called Issue_Seach that return a JSON based output and JSON fields falls under specific structure and substructures,, but the current Issue_Search action's output has been modified to replace that JSON structure in  well presented data structure (using outsystems structures) for easy access, so for me to add those two custom field, I need to know under which sub-structure are they located (if only I can see that JSON output), or maybe if I can see the structure of all the filed & custom fields from our Jira website?

so  in brief, is there a way that i can see the structure of all fields that we use in Jira?

 

Thanks

Daniel Ebers Community Leader Mar 30, 2020

Hi Rochdi,

a list of all fields (both system and custom) is requestable via REST API

GET /rest/api/2/field

From my opinion there is not more 'structure' that is possible to show.

In case you are using the API on a regular basis you might already know the documentation for it. Here is the link for the API endpoint to list the fields - in case in helps.

Cheers,
Daniel

Sorry I'm a newbie in using Jira, so forgive my luck understading, so how or where can I call that Getf ields to get our existing fields & custom fields ?

 

Thanks

becasue the current JIRA Connector API doesn't have that action.

Daniel Ebers Community Leader Mar 30, 2020

You can simply use curl from a Linux shell (bash), you don't need JIRA Connector or anything else special for it.

Please find some examples here:
https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/

Cheers,
Daniel

Hmm, Linux!?

I guess will try using DOS command in my machine 

 

Thanks Daniel 

by the way, for example thsis a url of one of the records: https://itvision.atlassian.net/browse/AF-2719

so is this the url that I should be using as example?

 

Thanks

Comment

Log in or Sign up to comment