The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi Team,
I have a field named "Analysis Notes" and have a default value as below
Cause of the defect:
Root cause of the defect:
Impacted area:
When a user moves the status of the issue from "Review" to "Implemented" I want the user to fill in the value of "Analysis Notes"
I have created a screen as "Analysis screen" and added the field "Analysis Notes" to this screen.
The problem is that, since it has the default value my validator condition to change the "Analysis Notes" is not working.
Please give me a solution.
Hi @rbalamu2 - Are you using any add-ons like JMWE or ScriptRunner?
If not, one thing you could do is create a custom field that is hidden (i.e. not on a screen). Then create an automation rule that sets the value of the custom field when the Analysis Notes field is update.
Then you can base your validator on the value of the custom field.
I would just use a radio button type with No and Yes for the custom field. Set the value to Yes when the field is updated. Then set your validator to say the custom field must be equal to Yes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @John M Funk ,
I am using Issue fields condition, from automation to set the condition.
I have the below default value:
*Cause of the defect:*
*Root cause of the defect:*
*Impacted area:*
Since it has space between each line, it is not considering the condition which in turn doesn't validate the field. Kindly help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have not tried this before, but try this syntax to remove the extra lines between
{{issue.summary.replaceAll("\n", "")}} to remove all newline characters ("\n") instead of {{issue.summary}}.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @John M Funk ,
I am using "Issue Transitioned" trigger.
I used "Advanced compare condition" find the attachment below:
Please let me know if I am doing anything wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I said, I have not actually tried this. Did you try it? Did it work? If not, what kind of error did you get?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @rbalamu2 do you have any plugins available to you? This would be a perfect example of the need for a screen behavior, a feature of Scriptrunner. Short of that all I can suggest to you is to remove the default value, or test in your condition that the value of the field is both not null and also that the value of the field is not equal to your default value (reflecting edits to that default value).
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.
Hi @Craig Nodwell ,
I am using Issue fields condition, from automation to set the condition.
I have the below default value:
*Cause of the defect:*
*Root cause of the defect:*
*Impacted area:*
Since it has space between each line, it is not considering the condition which in turn doesn't validate the field. Kindly help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.