Forums

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

Is there away to get Postfunctions without encrypted values?

MohamedNashaat May 12, 2020

I am using a Rest Endpoint to send all Workflows to the backend. The problem is, once i generate the PostfunctionTransition as XML, some values are totally encrypted. Is there a way to decrypt these values?

2 answers

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
May 24, 2024

It's not actually encrypted. The value entered into the Post-Function code is converted to a Base64 format, which is why it looks like it is encrypted when it actually isn't.

If interested, you can refer to this documentation to convert the formats.

 

0 votes
Nic Brough -Adaptavist-
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.
May 13, 2020

How are you encrypting the values?

MohamedNashaat May 13, 2020

I am not ! The values are given as Encrypted values.

Nic Brough -Adaptavist-
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.
May 13, 2020

I am sorry, that was blunt and lacking explanation.

 

You have told us that your xml contains "values that are encrypted".

My response was based on the fact that there's no encryption in the workflows, so I do not recognise "some values are totally encrypted".  If there are encrypted values going in to them, then that is something you have set up, hence the question as to how you are doing that encryption.

But, I'd rather fix the problem than talk semantics.  Could we start by you showing us some of the "encrypted values"?

MohamedNashaat May 25, 2020

I use Scripts in Postfunction and normally when i extract the workflows as XML file I get these scripts as encrypted values. But I figured out how to get them decrypted. 

Thanks anyway

Nic Brough -Adaptavist-
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.
May 25, 2020

So there was no encryption, you just mean you didn't recognise the format but you've worked it out now.

MohamedNashaat May 27, 2020

Actually it's encrypted as I said but I used the proper algorithm for it

Nic Brough -Adaptavist-
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.
May 30, 2020

As Jira, and all the apps that provide post-functions I've ever found do not encrypt anything, I still have to assume you do not mean encryption.

Could you explain this further, in case someone else lands here?  What (type of) keys did you set up to use for the encryption and what app(s) did you use to do it?

Suggest an answer

Log in or Sign up to answer