Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I customize diff algorithm in FishEye/Crucible

Is it possible to change diff algorithm in FishEye/Crucible?

Consider the following case.

We have a text file shown below.

Brief Info
   Type     : Rule-Obj-Model
   Id       : TVSOrg-TVSApp-Work UndefinedParamDt
   Label    : DT with undefined parameters
   Avail    : Yes
   RuleSet  : TVSApp:01-01-01
   Check-In : NJA-405 CoR. Diff-algorithm in FishEye/Crucible
 
Warnings
   Informational
       [Ninja] The following parameters are used without being declared on 'Parameters' tab: label2.
 
Definition
   1 : [Set] Param.label1 [equal to] "defined"
   2 : [Set] .pyLabel [equal to] "New Value"
   3 : [Set] Param.label2 [equal to] "undefined"
 
   Call superclass data transform: true
 
Parameters
   label1 : String    : No  : IN  : "" : defined param
 
History
   Description
       Not declared parameter is used

If we insert row in [Definition] section between row #2 and row #3 -- see changed file below.

Brief Info
   Type     : Rule-Obj-Model
   Id       : TVSOrg-TVSApp-Work UndefinedParamDt
   Label    : DT with undefined parameters
   Avail    : Yes
   RuleSet  : TVSApp:01-01-01
   Check-In : NJA-405 CoR. Diff-algorithm in FishEye/Crucible
 
Warnings
   Informational
       [Ninja] The following parameters are used without being declared on 'Parameters' tab: label2.
 
Definition
   1 : [Set] Param.label1 [equal to] "defined"
   2 : [Set] .pyLabel [equal to] "New Value"
   3 : [Set] .pyNote [equal to] "Absolutely New Value"
   4 : [Set] Param.label2 [equal to] "undefined"
 
   Call superclass data transform: true
 
Parameters
   label1 : String    : No  : IN  : "" : defined param
 
History
   Description
       Not declared parameter is used

Notice, that row numbers are changed respectively.

Then FishEye treats such change as removal of row #3 and addition of a new row and row being a copy of row #3 -- see screenshot below.

diff.png
Is it possible to customize diff algorithm to treat such change as addition of a new row between two existing that were slightly modified (row numbers were chaged).

1 answer

0 votes

I'm afraid it's not possible at the moment, vote on and watch the https://jira.atlassian.com/browse/CRUC-7491 issue please to get updated when this gets implemeted.

 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

400 views 19 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you