Hi All
I want to design a program to add the description of "remark" when component is equal to a certain value, but I find that no matter whether my component is a specific value, the operation will be triggered. My code is as follows
No matter whether my component is "test" or not, there will be "this is a test" in my remarks field. Is there a problem with my judgment? Could you please help me check the cause of the problem
I have optimized the code, but I find that the last three lines of my code do not take effect. If I comment the variable "name", then the last three lines of my code can officially take effect. Can you tell me the reason why we need the variable "name" to make a judgment
This code is valid, the reason for the error is that I set a popup window, the popup window interface does not set components, so the components are empty, resulting in the code cannot be executed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @arno
Have you tried managing this with Jira's built in Automations? It seems like you probably don't need to use script runner for this.
If I understand your requirements properly it could be like the below:
If you want it to be a comment instead, then choose "Comment on issue" instead of "Edit issue".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jovin
Thank you for your reply
Sorry, The method you provide can not achieve the effect we want. In fact, we need to set the comment prompt according to the module name, so that users can fill in the reason for closing the order according to the prompt when closing the order
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @arno
Could you outline the journey of a user here? Like step-by-step of what you want the user to do and the code to do? We may still be able to achieve this via automation, but I don't have the actual user story.
e.g.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.