Forums

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

Restricted View on certain Issue type

Mimi Peters
Contributor
April 11, 2023

Hi there,

I would like to ask how to proceed with two scenarios in a Company managed project:

1. Certain Issue types only show to Approved Viewer when creating a new issue

2. Certain Issue types will auto-move to Issue Security Scheme once it's created

Any suggestoins?

3 answers

1 accepted

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
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 Champions.
May 30, 2018

Depending on the complexity, you might want to explore the XML route. You can export the workflow to XML, copy the post function using your favorite editor, and then import the modified workflow.

Please make sure you understand the XML structure and test it thoroughly if you are taking this route. I had to do this a few times in the past!

Mike Rathwell
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 Champions.
May 30, 2018

Thanks Jobin... That was actually what I was trying to avoid but might be the way to go. I'll have a look and determine if editing the XML is easier than recreating the post functions.

 

Mike

Mike Rathwell
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 Champions.
May 31, 2018

@Jobin Kuruvilla [Adaptavist], an update. This actually ended up being monumentally the easiest way. Looking at the XML next to the actual Jira workflow representation coupled with vi having syntax highlighting and row numbers on (for precise yank and puts) made it easy.

Interestingly enough, were this something I found I had to do often, a simple xmlstarlet script might handle it very nicely.

So - thanks for the suggestion. The XML is actually quite straightforward and the simplest way to go forth in this case (moving subtask creation with lots of fields and arguments post functions from one transition to another).

Took much less time to grok the XML structure of the workflow and edit/import than it would've to recreate all the subtask creates AND avoided the inevitable errors from missing things by doing it manually.

Jobin Kuruvilla [Adaptavist]
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 Champions.
May 31, 2018

That's good to know. Glad it worked out :)

0 votes
Alle Admins
February 12, 2025

A drag and drop feature from Atlassian would be more useful than this detour.

0 votes
Alexey Matveev
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 Champions.
May 30, 2018

Hello,

I am not aware of such a plugin. I think you should do it manually.

Mike Rathwell
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 Champions.
May 30, 2018

Dang... I was afraid of that. I had grepped both Google in general and the Atlassian pages (including Marketplace) and didn't find it.

Perhaps this will be a feature request to Atlassian.

Suggest an answer

Log in or Sign up to answer