Required sign "*" should be shown on workflow transition views

Hello,

I have on each transition defined transition views and different fields which are required on these specific

transition. Is it possible to mark these fields also with a *?

At the moment the field is a required field but no one knows this because the only possibility to see that the field is required is, to try the state change and see the fields which are required.

Maybe a screenshot shows the problem.

Best REgards

Elke

6 answers

1 accepted

Thanks a Lot!!! Jobin, i am also looking for this

hello,

thank you very much for this link. It's very good, I hope it will work.

Can you tell me, where I can enter this javascript? I don't know which file I have to edit or where I should enter the described javascript.

BR Elke

add it on field description in field configuration scheme of a specifi project

ok thanks! It works perfect.

Does this also works for system fields?

BR ELke

Yes, although the names/ids of the system fields in the html are very different from the custom field names (and a lot more obvious - assignee, reporter, priority etc)

The workaround is perfect for select fields and normal custom fields. But it doesn't work on checkbox fields. Maybe the name of the field is different as customfield_id.

Do you have any idea?

BR Elke

try something like this

AJS.$("#customfield_12310-1").parent().children('label').append('<span class="aui-icon icon-required"></span>');

I have tried it but it doesn't work. The * doesn't appear.

This widget could not be displayed.

For chechkbox

<script type="text/javascript">

AJS.$("#customfield_xxxx-1").parent().parent().children('legend').children('span').append('<span class="aui-icon icon-required"></span>');

</script>

Thank you very much. It works now perfectly! Thank you! BIG Thank you!

Best Regards

Elke

This widget could not be displayed.

I had the same requirement, couldn't find any work around yet. I don't think there is one.

This widget could not be displayed.

this is very very bad. I hope someone find a workaround. I am still hoping!

BR Elke

This widget could not be displayed.

Hello again,

Does anyone know how the system field: Comment is used through the javascript.

I have tried: <script type="text/javascript">

{ AJS.$("#comment").parent().children('label').append('<span class="aui-icon icon-required">

but it doesn't working.

BR Elke

This widget could not be displayed.

Hi everybody,

I have found the solution.

The Comment field is not a normal systemfield and it was only possible to add the * to the label. It works with the following script:

<script type="text/javascript">

{

AJS.$("label[for=comment]").append('<span class="aui-icon icon-required"></span>');

}

</script>

BR Elke

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Friday in Jira

New 5k User Limit and Other Cloud Updates

Hi all! Lauren here from the Enterprise Cloud marketing team.  I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...

85 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you