Forums

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

Display Failed post function message on screen

Veera rdy April 23, 2018

Hello,
I'm using a post function, which is meant to fail depending on the field values.

Is there a way to display the postfunction error log to the user on the Jira issue screen.

Please advice.
Thanks.

1 answer

1 vote
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.
April 23, 2018

No, there's no display functionality SR can hook into on post functions.  You need to trap the error and write it into a field on the issue.

Veera rdy April 24, 2018

Hi @Nic Brough -Adaptavist- Is there a way to push the error into a field? 

Since the error is shown in the logs, I'm not sure of a way to capture the error and push it into a field.

 

Please advice

Thanks.

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.
April 25, 2018

You need to catch the error in your code.  I can't really tell you more than that.

Veera rdy April 26, 2018

Thanks Nic

Suggest an answer

Log in or Sign up to answer