Hi everyone.
I'd like to know if it is possible to modify the value of a custom field text box based on the title of an issue.
For example, we have an issue that is generated on Jira from QRadar. What I'm asking is this: Can the issue that was generated on Jira have a custom field text box with instructions that are valid only for that specific offense? and for every other offense have different instructions based on the offense itself.
I know you can create static custom fields that will be affected by things such as Project type and other parameters, but I guess this is more of a dynamic nature.
Thank you in advance, I hope the question is clear enough.
Hi @Daniel K
If you are scripting the automated population of the custom field value, then you can control the value based on the summary text also. So you will have to get the summary value from the ticket and then do alot of 'if else' to set the custom field value appropriately.
Did you already try? Are you stuck at any specific action?
Hey @Fazila Ashraf Thank you kindly for the reply.
That does sound like a great solution, but I have no idea how to script the value of the custom field, I'm still learning this system from 0. If you could point me in the right direction, I would be grateful.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Daniel K , Do you have scriptrunner or any other plugin that helps with automation and scripting, installed in your setup?
Plugins like : Automation for JIRA, JMWE , scriptrunner helps with such use cases.
I generally use scriptrunner and I have have to script the actions using groovy scripting.
Scriptrunner has this behaviour functionality that helps in prefilling the custom field values in the form -> https://scriptrunner.adaptavist.com/5.5.2/jira/behaviours-overview.html
Or use the post functions (write and execute the automation script during a status change) -> https://scriptrunner.adaptavist.com/5.5.2/jira/custom-workflow-functions.html
Hope this link helps you in getting started -> https://scriptrunner.adaptavist.com/latest/jira/tutorials.html
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.