Forums

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

Forcing a pop up modal

Allie Emrich July 18, 2019

Hi there-

I'm trying to create a way for the engineers to choose a fix version and make sure that a custom field (release notes) is populated before they can close an issue as "fixed." To do this, I'd like them to be able to choose "fixed" but if the fix version is blank and the "release notes" custom field is blank, then a modal pops up and they fill in those two items.

I currently have this working through transitions, but all this does is prevent them from choosing "fixed" as an option. This ultimately will just cause them to choose "done," and won't work.

I'm having a lot of trouble finding documentation surrounding this. Could someone please help. 

 

3 answers

0 votes
Inactive Stephen
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.
July 18, 2019

Hi Alex,

Is this a specific issue type?

You're right - having the screen or validation isn't a guarantee of them using the correct resolution, as they could choose 'Done' instead and avoid the need to populate these two fields. You could make them mandatory for all resolutions as an alternative, but it depends if other resolutions like Done need FixVersion / Release Notes.

However, if Fixed was for Bugs (rather than Stories) then you could create a workflow specifically for the Bugs which has just Fixed as a resolution. By then applying a screen with FixVersion and Release Notes as mandatory fields you could ensure they populate them.

But it'd be difficult to manage the behaviour on a generic workflow / screen set if there is a workaround - that is more behavioural than system-driven.

Ste

Allie Emrich July 22, 2019

I actually figured it out. Thanks!

Inactive Stephen
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.
July 23, 2019

Awesome @Allie Emrich - how did you end up doing it, for future reference?

Ste

0 votes
Allie Emrich July 18, 2019

Thanks Jack! Ichose them both as statuses  Whatand am using transitions. What 

happens that if I don't have the fix version and the custom field populated is the status "fixed" won't populate. I have add the fix version in order for "fixed" to be an option. I'm hoping you can help me figure out how "fixed" can always be an option, but to not be able to close an issue as fixed without the custom field of release notes to be populated, and for the fix version to be there. 

0 votes
Jack Brickey
Community Champion
July 18, 2019

what Are fixed and done here? Statuses or resolutions? You seem to be on the right track. For every transition where an issue is being moved to a status that is of a “done” category you should have a screen with the fix version and release notes. Use validation to ensure the issue has a value or is updated depending on your needs. 

Suggest an answer

Log in or Sign up to answer