Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Connect a project to itself, to calculate a field value

 
1
0
-1

Hello, 


We are currently trying to automatically calculate a Field called "RPN". This field is calculated like this (occurence * severity).


This usecase is easy to do, if you calculate this field across 2 different project. Our usecase would be to connect an Issue with itself (localproject connected with localproject). Means we don´t want to create a new Issue in the project, we want to establish a connection from issue ABC-12 to ABC-12.


That way our Outgoing sync could be: 

replica.customFields."occurence" = issue.customFields."occurence"
replica.customFields."severity" = issue.customFields."severity"


And our Incomming sync could be: 

issue.customFields."RPN".value = (replica.customFields."occurence".value * replica.customFields."severity".value)


Right now exalate always wants to create a new issue, it seems it is not possible to connect an issue to itself. Did someone already do it? 

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      This is not supported by Exalate.  I gave it a quick try (there could be a path) but it triggers a number of problems.

      You would be better of to use an add-on like scriptrunner to implement this type of usecases.


        CommentAdd your comment...