Forums

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

Jwt Calculated field

Omri Zeman April 16, 2024

Hey, I wanna do something with the calculated field that works now but I wanna change it,
I got 1 project called "ATE" And I created a Field call "ENNP KEY"
I wanna do with the calculated field that if I write Issue-key in the "ENNP KEY" field
it will import the issue key from another project and show me 2  specific values from this
Issue that I choose,
I want him to show me the "Date" from that issue that I choose and also "week"
they 2 costumed field.
I'm attach photos for example.
Capture.JPG

1 answer

0 votes
Vicente Domínguez _Decadis AG_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2024

Hello @Omri Zeman,

I am part of the Decadis team and I would like to assist you here.

In order to retrieve a field value from another issue based on a issue key written on a text field, it would be necessary to use an expression like the following one in a JWT calculated text field after replacing "nnnnn" and "ppppp" with the IDs of the date custom field and the custom field where the issue key is written respectively.

first(fieldValue(%{issue.cfnnnnn}, first(issueKeysToIssueList(%{issue.cfppppp}))))

Please, note that the expression must be written in the Advanced text parsing mode and that it might need to be adjusted depending on the field types and the manner that you would like to display the information.

This expression will retrieve a single field value from the first issue added to the custom field. We use for this purpose the parser functions fieldValue()first() and issueKeysToIssueList().

If you need further assistance, please, feel free to reply to us via this thread or to create a ticket in our Support Portal.

Best regards,

Vicente

 

Suggest an answer

Log in or Sign up to answer