There is one defined "Script Field" named "Impact". It is filled automatically according to the fields selected by the user while creating the "Issue". For example Major, Minor.
I want to assign the role automatically if it is major or minor. Even though I put it at the bottom of the Postfunction, it doesn't assine because it doesn't see Impact value. What can I do?
Hi @Sema YILDIRIM ,
Is there an option to delay the execution of your post function? For example, JMWE has such an option. Since the custom script for the moderate field runs after your post function, then:
Hi @Alex Koxaras -Relational- ,
thank you for the answer. Is it an application you call JMWE? There is no way I know of to delay it. I would be very happy if you share an example.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all see if the post function you've used has such an option. To delay its execution. Share a screenshot if you like.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can also use a listener, which scriptrunner provides https://scriptrunner.adaptavist.com/latest/jira/tutorials/listeners-tutorial.html
So whenever the listeners sees a change in that custom field (impact) it will change the value accordingly!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
above i sent you post function options and I send query detail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to add into your code a delay execution for about 1 to 2 seconds
https://community.boomi.com/s/article/howtodelayaprocessexecutionusinggroovy
This might do the trick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then use an automation instead with the on value field changed trigger, or on issue create trigger.
Check for the impact value and put some if statements. This will work. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.