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

Store field value changes in a new field

Tobias February 18, 2022

Hello together, 

I was just thinking about a possibility to store all values of a customfield in a separate field. Use-Case is the following: We want to implement some kind of milestone tracking in Jira. Therefore we also have to account shifts. For these shifts we implemented a date time custom field. So my idea was to append the new value to the separate field every time the field value changes. We need to have every value because we want to display all shifts in an BI tool. 

Currently we have Automation lite in use, but will update to Pro asap. Does someone have an idea if this implementation makes sense or if there are maybe better possibilities. 

Thank you in advance,

Best 

1 answer

1 vote
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 18, 2022

Hi @Tobias 

As I can see from the use case, this is more of changelog tracking.

You could extract this information from API - GET Issue and track this outside the Application

Cloud --> https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-changelog-get

Server --> https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/issue-getIssue

If you are on Cloud, you could explore the app here

https://marketplace.atlassian.com/apps/1220385/issue-history-for-jira?tab=overview&hosting=cloud

Tracking the Issue Change log in another custom field is not a good practice

Thanks,
Pramodh

Tobias February 18, 2022

Hi @Pramodh M 

firstly thanks for replying to my question. It is clear for me how to get the values via the API. Problem here is, that I need to provide all values of every change in the shift. Because this is what we want to display in BI. We want to see how often there was a shift (or a change of this field value). This is not possible for me at the moment, this is why I was asking. 

Hope this makes it a bit clearer now. 

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 18, 2022

@Tobias 

Yes I understand, what I'm trying to say with API you can track the changelog which has happened to a custom field. is this clear?

If you need to track that in Jira by creating another custom field, it's not possible.

Let me know if you have any queries

Thanks

Tobias February 21, 2022

Hi @Pramodh M

ah now I understand. So you think that it is not neccessary to add another custom field to copy every separate new value. How can I track changes in an custom field, is there a specific API endpoint to track this?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events