Forums

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

Compare custom fields and display output in dashboard

YTZ October 14, 2021

Hi Community,

I've a requirement where I have two fields field1 and field 2 and both are of type version picker. Now, I'm looking for a kind of requirement where if there's any difference between the versions of both the fields that should display on my project's dashboard.

 

I've tried some of the issuefunction expressions of field comparisons for example 

issueFunction in expression("", "field != field2")

 but, nothing seems to be working.

 

Hope someone would come up with a possible solution !!

Thanks, 

1 answer

0 votes
John Funk
Community Champion
October 14, 2021

Hi @YTZ 

You should be able to do that with the Automation for Jira add-on. But I don't know the syntax for what that looks like using pure code. 

YTZ October 20, 2021

Hi @John Funk  - Thanks for your response. I'm a bit late on my reply. I tried the automation for jira before i posted this question. There is an option to compare the fields and i was able to do the same, but i need the result to be displayed on a dashboard. That's where i'm stuck and need help on this. Do you have any idea on how to bring that result to a filter and display on the dashboard ?

Thanks

John Funk
Community Champion
October 20, 2021

I would probably create a custom field and set the value of the field as an action when you run the automation. 

Then create your filter for the dashboard based on the value of the custom field. 

Suggest an answer

Log in or Sign up to answer