Forums

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

Update date and user picker fields when radio button value changes

Pawel Rozek
Contributor
July 11, 2018

Hello Community,

I'm looking for a way to trigger user picker and date fields updates based on radio button value changes from the View Issue screen.

I have a radio button with options: yes/no/tbd and initially defaulting to TBD. When a user views the issue, they don't want to transition an issue, but on the view screen, they would like to change the option from TBD to Yes or No which would trigger populating values in user picker with their user information and date field value with current date. If the user changes their mind and puts it back to TBD they want to clear the user picker and date field values. Is this possible without transitions?

Thank you in advance

1 answer

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 12, 2018

Hello Pawel,

Natively Jira does not have a mechanism to update a field based on another field being update.

I'd suggest using the Script Runner add-on, which has a functionality named Scripted Fields. With these, you can create two fields that would take its value based on what's set on the other field.

Documentation and specifics for Scripted Fields can be found here

Regards,
Earl

Pawel Rozek
Contributor
July 12, 2018

Hi Earl

The problem is that that user picker field may have to be changed and my users want to do it from view issue screen instead of edit screen. Sigh... I've found a way with JavaScript to determine which radio button is selected but I cannot figure out how to update the fields once values change in view screen. Works flawlessly in edit screen though.

Any other ideas? 

I'm really trying to avoid writing custom workflow transition for each status and executing automator upon update of issue status. There's got to be a better way.

Suggest an answer

Log in or Sign up to answer