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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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