Forums

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

Change Radio Button Value on transition

Julia_Pflibsen March 31, 2020

I have a radio button (passed, failed, none) that i want to change to passed on transition A, and failed on transition B. When I add the post script transition to change custom field value I type in "Passed" for the new value, but it does not actually change my radio button. How do I do this?

 

I also want a date picker to automatically update to todays date on a transition, how do i do this? 

 

Note I do not have nor can have any paid plugins and I have never scripted in JIRA.

 

Thank you,

Julia

2 answers

1 accepted

1 vote
Answer accepted
Ansar Rezaei
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 31, 2020 edited

Hi @Julia_Pflibsen 

 

Put new transition after "Re-index an issue to keep indexes in sync with the database." builtin transition and it works.

 

image.png

Julia_Pflibsen March 31, 2020

that worked great! thank you!

Like Ansar Rezaei likes this
0 votes
John Funk
Community Champion
March 31, 2020

Hi Julia - Welcome to the Atlassian Community!

You can do a transition screen that displays the radio button field on the screen and have the user select the correct value.

Or you can have difference transitions for Passed or Failed as it sounds like you might have. In that case you can put a post-function on the transition to set the value of the radio button. 

You can also do a post function to set the date. All of those should be free functions. 

You can also use Automation For Jira to do the post functions - it is a free product now as part of Jira. 

Julia_Pflibsen March 31, 2020

Thank you for your response. Please forgive my confusion. I do have a Post Function added to my transition, but it requires me to type in my Radial Button selection. Then When I make this transition it does not seem to make the update it keeps leaving it at the "Unknown/Not Reviewed" option.Transition Update Issue Custom Field Function - Jira.png

 

Close Issue - Jira.png

 

 

My settings:

Configure Screen - Jira.png Hardware Workflow - Jira.png Transition_ VERIFIED Resolution_ Test Solution - Jira.png

John Funk
Community Champion
April 1, 2020

Looks like it was solved with the reordering of the post functions.  :-)

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events