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.

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

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

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

BR Elke

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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,009 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot