Why is Escalation Service in Script Runner changing more fields than I want?

Hi,

First of all, I know Escalation Service is marked as BETA. So I just add this question here to maybe help out sort a known/unknown bug.

JIRA 6.2.3 and Script Runner 2.1.17

Setup = Two services:

Description: Priority set to Critical when issue is 2 days from Due Date
Interval: 15
JQL: project = Test and duedate = 2d
Action:
Run as: admin
Additional Code: issueInputParameters.setPriorityId("2")

Description: Priority set to Blocker when issues Due Date is current day
Interval: 15
JQL: project = Test and duedate = endOfDay()
Action:
Run as: admin
Additional Code: issueInputParameters.setPriorityId("1")

The services does exactly what I want, but in two occassions lately the "Original Estimate" have been changed (to random value) in the exact same time, by the same user (admin) running these services. This JIRA is pretty clean and default, this is the only mods I've done. Therefore I thought this behavior had something to do with the services I have added?

Can I provide any special information for investigating this? Or can it be something else running that changes the Original Estimate automatically?

Best regards

Christoffer Karlsson

1 answer

0 vote

I don't think it's possible that the service could have set a random value. Is there an action through which the issue is transitioned? Do you have any listeners on update?

It's more likely that you have a post-function or listener that updates the original estimate, and it's not doing what you think.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

93 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you