Forums

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

Post function with a boolean expression and radio button

cnun May 23, 2022

Hi all,

I am trying to configure a post function that sets the field "assignee" depending on the selection of a radio button in a transition with the info of the field "reporter" under the next condition:

if the radio button selection (mandatory in the transition) is not "pending info", the field "assigne" takes the value of the reporter.

comuniti_2.JPG

 

If the radio button is "pending info", the field assigne doesn´t change.

comuniti_1.JPG

I have no idea what´s wrong. In this moment no matter how I configure the post function either the field "assignee" changes everytime or never.

Current Post function configuration using JSU:

comunity_3.JPG

Currently with the settings of the image above the field "assignee" changes everytime.

Any ideas?

Thank you

Regards

1 answer

0 votes
Vikrant Yadav
Community Champion
May 23, 2022

Hi @cnun  Welcome to Atlassian Community!

Are you using JIRA Cloud or JIRA DC/Server ? 

If you are using JSU Auotmation Suite for JIRA Server or Jira DC,  i think there should be two postfunction one for pre condition and another is to copy value from other field. 

Have you selected the correct Reporter field (system field) ? 

https://beecom-products.atlassian.net/wiki/spaces/JSU/pages/25680667/Copy+Value+From+Other+Field+Post-Function

 

JSU Postfunction.PNG

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events