My work is about to transition from Jira Server to Jira Cloud and I'm trying to setup our workflows again on Cloud. We use JMWE for our workflow post functions. The behavior that I'm looking for, is when a specific user creates a Bug ticket, add the Component. My conditional execution returns True, however it does not add the component when the user creates the ticket. This is the line:
{{issue.fields.project.key == "NAR" and issue.fields.issuetype.name == "Bug" and issue.fields.reporter.accountId == "accountId:557058:aba2a307-a570-4b7b-b7eb-16343b24d023"}}
Any advice would be appreciated, thank you.
This looks correct. Did you try refreshing the issue after a few seconds? On Jira Cloud, post functions run asynchronously, after the issue is created.
Also, did you try without the conditional execution, to make sure the rest of the configuration is correct?
Hi David, I did wait a few minutes after like you suggested however it didn't appear. Also I tried without the conditional execution, and it also did not work. But the only thing else it is doing is adding the value PX to the current ticket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you check there is no trailing space after PX in the post function configuration? And that there is indeed a component named PX in the project, and that its name also doesn't include a trailing space?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I checked both and they're both without any trailing spaces. There is a component named PX as well.
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.