How i can find the field id name when i know the custom id ?

AKSHAY THAKARE July 27, 2018

Hi,

I know that filed id is_10008 but I want to know the filed name in JIRA SD. 

so i can know this.

4 answers

2 accepted

7 votes
Answer accepted
Moses Thomas
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 27, 2018

@AKSHAY THAKARE

Login as JIRA adminstrator,  click  the admin  button  Issues > Custom fields, there is a button at the top right had side of every custom field when you click it you will see Configure | Edit | Translate you can click any of this then you will have a link like this

https:JIRAurl/secure/admin/EditCustomField!default.jspa?id=15800

then change this number to the one you know 10008 so it will be like this
https:JIRAurl/secure/admin/EditCustomField!default.jspa?id=10008

you will be in the interface of this custom field.


There is another way but time consuming, you can press F12 on your keyboard,
click on inspect from the developer view of your browser(lets say fire fox mozila)
then iterate over custom field window in JIRA by moving cursor of you mouse
to every custom field name until you find the one that has the number 10008

 

Best!

3 votes
Answer accepted
Ollie Guan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 27, 2018

Hi @AKSHAY THAKARE,

If you have sys-administrator right, you should be able to see the name of the field after entering the following link and ID.

for example:

http://IP/secure/admin/ConfigureCustomField!default.jspa?customFieldId=10008

AKSHAY THAKARE July 27, 2018

I have admin rights, and I tried this but I'm not getting the result.

2 votes
Jens January 27, 2022

Another quick solution which works without admin rights is to use the "Export to XML" option (top right corner) while browsing the issue containing the field. The XML file contains lines like this:

<customfield id="customfield_11664" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
<customfieldname>Environment</customfieldname>

Source: Jira Knowledge Base 

0 votes
Ahsan January 20, 2020

The above solutions are easier, but you can also use this script to do the same

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.fields.screen.FieldScreenFactory
import com.atlassian.jira.issue.fields.screen.FieldScreenManager
import com.atlassian.jira.issue.fields.screen.FieldScreenSchemeManager
import com.atlassian.jira.web.action.admin.issuefields.screens.ViewFieldScreens
import com.atlassian.jira.workflow.WorkflowManager

def sb = new StringBuffer()
def issueManager = ComponentAccessor.getIssueManager()
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def cField = customFieldManager.getCustomFieldObject("customfield_id")

sb.append("${cField}<br/>\n")

return sb.toString()

Moses Thomas
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 27, 2022

@Ahsan   Yes you are able to  do it like this right but this is costly  you will need to have the script runner plugin :) , it is not for free  and by the way you don't need these five lines in your code.

import com.atlassian.jira.issue.fields.screen.FieldScreenFactory
import com.atlassian.jira.issue.fields.screen.FieldScreenManager
import com.atlassian.jira.issue.fields.screen.FieldScreenSchemeManager
import com.atlassian.jira.web.action.admin.issuefields.screens.ViewFieldScreens
import com.atlassian.jira.workflow.WorkflowManager

 

 

Kind regards,

Moses

Suggest an answer

Log in or Sign up to answer