The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

why the post function from JMWE is not working?

Nicolas Andika
Contributor
August 9, 2024

Dear all,

i want to ask that i want to set the post function to linked issue that match the jql that i wrote like thisScreenshot 2024-08-09 at 17.37.51.png

but when i check there is no error and the log is look like thisScreenshot 2024-08-09 at 17.38.58.pngScreenshot 2024-08-09 at 17.39.04.pngScreenshot 2024-08-09 at 17.39.09.png

what is actually happened guys? and how to fix it?

Thankyou

Regards,

Nico

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
David Fischer
Community Champion
August 9, 2024

Hi @Nicolas Andika 

the first thing I can see is that you're using issue.fields["Reporter"].accountId. I would replace that with:

issue.fields.reporter._accountId

Explanation:

- using "reporter" instead of "Reporter" guarantees that this will work even if your Jira base language is not English

- using _accountId removes the "accountId:" prefix that is automatically added to the "accountId" field

Nicolas Andika
Contributor
August 11, 2024

Hi @David Fischer 

i already replace it with your advice, but it still not working yet, any other option? 

Thankyou

0 votes
Marc -Devoteam-
Community Champion
August 9, 2024

HI @Nicolas Andika 

I only see and INFO post no error.

It even stats post-function success.

Where is the error?

Nicolas Andika
Contributor
August 11, 2024

Hi @Marc -Devoteam- 

That is also im still figuring out, because the post function is not working when i jump to the issue

Marc -Devoteam-
Community Champion
August 13, 2024

Hi @Nicolas Andika 

It might be that your conditional is wrong.

Could you try: {{ issue.fields.issuetype.name == "Story" }}

Nicolas Andika
Contributor
August 14, 2024

Hi @Marc -Devoteam- 

i already change the jira expression the value of the reporter, 

thankyou

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events