Hello!
I'm trying to setup a create issue post function using JWT, The way my transition works is it's an any to all transition that pops up a screen for user input, that input is then used in the create issue post function that creates the issue in a different project under a parent set by a parser expression.
Now the above screenshot works,
However, the way I had it set before (and all of my other create issue post functions coming in from a DC migration) is instead of parser expression for the Active Billing and Ongoing Billing Start Date fields, I was doing "Field in current issue", and selecting the same field. However I kept getting validation errors in the JWT audit log that those two fields are required (which they are in the field schema for the target issue type, but I was supplying them in the transition screen that pops up with this transition)
My question is, do I need to change all of my create issue post functions that rely on a transition screen to use a parser expression instead of "field in current issue"?
Am I doing something wrong with "field in current issue" that I need to fix instead of using parser expression?
Thank you all in advance.
Pierre Ibrahim
The issue happens because values entered on a transition screen are not saved to the issue until after post functions run, so Field in current issue is still empty when JWT validates the new issue. Parser expressions work because they read the screen input directly. For any create-issue post function that relies on data the user enters during the transition, parser expressions are the correct method. Field in current issue only works when the issue already has those values before the transition starts.
Thank you so much for your response @Ethann Collins ! Decadis also confirmed this via a ticket I sent their way. I appreciate your insight!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pierre,
My name is Nicolas, I'm a member of the support team from Decadis. We received your request in our support portal and we will have a deeper look into it and give you an answer as soon as possible.
With best regards,
Nicolas
Decadis AG
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.