You can create and configure a post function to update attachment labels. This post function will add or replace labels of attachments based on the attachment name or regular expression.
Open the workflow into which you want to add a post function.
Select the transition where you want to add a post function.
Select Post functions.
On the list with post functions, clickAdd post function.
Select the Update attachments labels post function.
Click Add.
Configure one or more actions for the post function.
Click Add.
Publish the workflow.
FAQ
I have configured the post function, but labels are not added to attachments in some Jira issues.
This behavior can be caused by the lack of permissions for our app in a particular Jira issue. If you have issue security levels configured, our app will lack permission to add labels in this project. You can resolve this issue by adding the project role atlassian-addons-project-access to the security level:
In the upper-right corner of the screen, select Administration > Issues.
In the sidebar, selectIssue security schemesto open the Issue security schemes page, which lists all the issue security schemes currently available in your Jira installation.
Select the scheme name, or theSecurity levelslink in the Actions column, to open the Edit issue security levels page.
Locate the appropriate security level and click itsAddlink (in theActions column), which opens theAdd user/Group/Project role to issue security levelpage.
Select the atlassian-addons-project-access project role, then click theAddbutton.
Cookie Notice
This website uses cookies for analytics, personalization and advertising. By continuing to browse, you agree to our use of cookies. Learn more