Forums

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

How to post comment with SR Escalation Service on issues with inactive users in custom fields?

Elena Baldo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 15, 2020

Hi community,

 

we have an Escalation Service in place whose job is to post a comment if the issue hasn't been updated in the last 4 weeks to inform the assignee to take actions.

The comment is not posted if on the issue there are inactive users either in custom fields (multi-pickers) or as component lead.

Is there any suggestion to bypass the checks? The goal is simply to add a comment, not to edit the issue so I don't understand why the system is checking the users in the background.

 

Thanks for your attention and feedback.

1 answer

1 accepted

0 votes
Answer accepted
mogavenasan
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.
January 3, 2021

Hi @Elena Baldo ,

Would it be possible for you to share the Escalation Service configuration here? 

The comment is not posted if on the issue there are inactive users either in custom fields (multi-pickers) or as component lead.

Have you tried to look at the log files if there's anything about this behaviour?

Thanks,
Moga

Elena Baldo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 13, 2021

hi @mogavenasan ,

thanks for reply. We've solved the issue by retaining the existing values with the method

issueInputParameters.setRetainExistingValuesWhenParameterNotProvided(true, true)

In this way the validations performed on any involved users being still active are skipped.

Like mogavenasan likes this
mogavenasan
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.
January 13, 2021

Hi @Elena Baldo,

Glad to hear that, please mark this thread as solved.

Thanks,
Moga 

Suggest an answer

Log in or Sign up to answer