Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Change api KEY for custom property

Russell Weber
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2019

We have a lot of automation and therefore a need to file bugs generated from automation.
Specifically, we use a test case tracking system that we built in house, since none of the available solutions for test case tracking were capable of doing what we wanted; not even atlassian.

Using the python api, we can easily query issues and return the data for an existing issue.  However, we would like to more easily access the fields of the data we are accessing/setting by having a more user friendly key.
t = jiraclient.query_issues(query)[0]
#Get the test case ID.
# "Test Case ID"=customfield_10077
t.fields.customfield_10077


I would like to rename this/change this to something more self documenting and easier to live with.. I find it difficult that Jira doesn't provide the ability to change the key given that they have them changed already for many of their non-custom fields.

Example:
# customfield_10077 as a key was renamed to TcId
t.fields.TcId

This would make my life easier.. how do I do this?

0 answers

Suggest an answer

Log in or Sign up to answer