Change the Can use field for tags attached to issues on import from Jira

I use the documentation to import all my tasks from Jira into YouTrack.

Imported tasks create tags that only me can use by default (field Can use). I want that when importing tasks, the created tags can automatically be used by all users, in fact, it is necessary that the Can use field in the settings of the created tags becomes All Users.

Can you please tell me how can I achieve this effect?

0
3 comments

Hi! 

I'm Sergey from the YouTrack team. 

You should wait for the release of the following issue: https://youtrack.jetbrains.com/issue/JT-69940/When-setting-a-visibility-of-imported-tag-include-the-user-who-ran-the-import-there. Feel free to follow it to get notified, as we'll update the issue once it's released. This fix includes backend changes as well, so you can't just adjust import scripts to make it work. 

1

Thanks for your reply!

That is, if I need to change the Can use field in the settings of all tags, can I just use openapi requests after importing all issues from Jira?

 

0

Hi!

Generally, you can check yourself what openapi has to offer. As I see, it currently doesn't expose these settings either. Yet, you can do it via the REST API endpoint directly as described here: https://www.jetbrains.com/help/youtrack/devportal/operations-api-issueTags.html (see tagSharingSettings).

1

Please sign in to leave a comment.