Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • I would like to get a select case (switch) groovy script working inside of JETI for outgoing emails

How can we update with Subtask create permission to the Project Developer in Jira?

bharathkumar
November 3, 2023

There are too many users with incorrect access in our Jira project. The developers who are working in our environment should be assigned the developer role. That role should only have the following access;

1. add comments to story level
2. add subtasks to a story
3. manage status on subtasks

 

How can we update with Subtask create permission to the Project Developer in Jira?

1 answer

0 votes
Ivan Tovbin
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.
November 2, 2018

1. Create a scripted field which would return a link depending on your meetingId value. 

2. Use your scripted field's value in your email template.

Aaron Whigham
November 6, 2018

Hello Ivan,

Your solution looks good.  However, changing the actual project fields was not an option.  Therefore, I was able to get the result I needed by Writing the following code in the Html Edit Velocity Markup and it works well.

 

<p>
#set($meetingID = $issue.getCustomFieldValue("customfield_12345").toString())
#if( $meetingID == '2222222222')
<h2><a href="https://my/meetingroom1">MEETING LINK</a></h2>
#elseif( $meetingID == '1111111111' )
<h2><a href="https://my/meetingroom2">MEETING LINK</a></h2>
#elseif( $meetingID == '3333333333' )
<h2><a href="https://my/meetingroom3">MEETING LINK</a></h2>
#else
<strong>No Meeting Link</strong>
#end
</p>

 

Thank you

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events